This is my problem:
I have written an external builder with category SOURCE_GENERATOR. It generates java source code in gen directory. The java files generated are registered to the outputConsumer using
Also I register the files to compile using
Also I have a ClassPortProcessor as done in GroovyBuilder to recompile sources that whatever reason are not compile in this round
Until here all (more or less) is ok. The problem comes here:
P.e.: I compile my custom language files and them generates 75 java files that are compiler perfect.
Then I modify custom language file, the result is that p.e. 70 java files are generated, but for any reason I unknown the java builder expect to compile the 5 file that does not exist because in this build aren't generated throwing an error like
Error:java: error reading /.../Sample_0.java; /.../Sample_0.java (No such file or directory)
If I try to compile again come to run perfect.
Any idea?? What I'm doing wrong??