Resource file not updated

Answered

I have a Java project with some resource files. When the project is rebuilt, the resource files are copied into the build area. However, when I modified one of these files, the only way I could find to get the file updated in the build area is to delete the existing file in the build area and run make. I tried using the synchronize contextual menu item at every level of the project file hierarchy, but it had no effect.

Am I missing something, or is this a bug?

Is there a way to have resource files updated automatically (I think this used to work)?

One possibly relevant point is that the path to the resource file involves a symlink.

 

0
6 comments

Does it work without a symlink? IntelliJ IDEA doesn't handle them well.

0

Yes, a make will update a resource file in the same module whose path does not include a symlink.

 

 

0

That link does not work for me:

Oops! Something went wrong with your search request.
  • Can't find value: "symlinks".
0

I found several possibly related issues:

IDEA-65174 (relates to active change notification, created in 2010)

IDEA-88995 (relates to automatic synchronization, created in 2012)

IDEA-160590 (relates to symlink update events, a requested feature?, created in 2016)

Given the dates on these issues, is there any chance that this problem will be fixed?

 

0

Please sign in to leave a comment.