Ant task synchronization

I use ant task for stamp and versioning my project within several files (java and non-java). The problem I face with that Idea does'nt recognize these changes correctly. Even if I synchronize the file after the ant execution it is not updated correctly. So my questions are:

1. Does Idea synchronize automatically after each ant task?
2. If 1. is not true, how to enable this?
3. If 1. is true, might it be a bug and worth to be reported?

Thanks
Thomas

PS: I use a linux environment with #IU-103.72

10 comments
Comment actions Permalink

Hi Thomas,

Do you have any symlinks in a full path to files being updated?

0
Comment actions Permalink

No, no symlink nearby or in the project nor in the root path.

0
Comment actions Permalink

Ok. Then please do what is described in this comment, and attach log here.

0
Comment actions Permalink

Please see the file attched. As soon as I modify the file with the ant task the fsnotifier is notifiying so. I tested with the file "version.spec". What I now detected is that Idea updates the file as soon as I go to an other application (lose the focus) and come back to the Idea window. The file is updated then correctly in the editor. But no other action does update it. I can synchronize, close, reopen the file without any changes.
I presume it is a bug then.



Attachment(s):
file_watcher.log.zip
0
Comment actions Permalink

Looks very similar to outdated file watcher binaries.
Could you please do "ls -l $IDEA_HOME/bin/fsnotifier*" ?

0
Comment actions Permalink

-rwxr-xr-x 1 th sbox 22529 2010-12-09 11:57 /opt/idea/bin/fsnotifier

0
Comment actions Permalink

Yes, it's definitely outdated.
How did you update IDEA last time? Didn't you miss bin/ directory content?

0
Comment actions Permalink

I hardly remember it was a patched update. But will download a full release once again.

0
Comment actions Permalink

Did download from the Website and now all is working. Thanks for your help Roman. I am quite sure did a patched update last time.

Best regards
Thomas

0
Comment actions Permalink

Ok, good.
We'll think about better validating files after update.
Thank you.

0

Please sign in to leave a comment.