I have a project in Eclipse (Indigo, but similar in Helios) that has files in src/main/resourcesthat are processed to generate * .java source files in target/generated-sources/xyz. The Build Automatically function is enabled in the project settings, therefore, when these resource files are edited and saved, the corresponding files are generated *.java. I added target/generated-sources/xyzto the Build Paths projects. All of this works great.
The problem is that the changes to the generated files are *.javainconsistently rebuilt. If I have one of these files open in the editor, he notices that it has changed and asks if I want to reload it. A file reload is *.javaenough to recognize that it has changed and rebuild is triggered. If I do not open it, it will not automatically pick up the changes.
Any ideas on what I can do to let Eclipse (Indigo preferably) know that these generated files are being updated? Or better yet, to control these folders directly?
Thank.
source
share