Anthony Vanelverdinghe opened MCOMPILER-333 and commented
With <useIncrementalCompilation>true</useIncrementalCompilation>, my build fails if I do "mvn clean compile compile". From the comment in MCOMPILER-205, I understand that incremental compilation deletes the "classes" directory. But it seems that it doesn't delete the "generated-sources" directory.
When I do "mvn clean compile" and "mvn compile", the second build fails. However, if I delete the "generated-sources" directory between the 2 builds, they both succeed.
So I guess the bug here is that incremental compilation doesn't delete the "generated-sources" directory.
Affects: 3.7.0
Issue Links:
- MCOMPILER-589 Compilation fails due to removed generated-sources after upgrade from 3.11.0 to 3.12.0+
("causes")
- MCOMPILER-538 Do not add target/generated-sources/annotations to the source roots
Remote Links:
0 votes, 6 watchers
Anthony Vanelverdinghe opened MCOMPILER-333 and commented
With <useIncrementalCompilation>true</useIncrementalCompilation>, my build fails if I do "mvn clean compile compile". From the comment in MCOMPILER-205, I understand that incremental compilation deletes the "classes" directory. But it seems that it doesn't delete the "generated-sources" directory.
When I do "mvn clean compile" and "mvn compile", the second build fails. However, if I delete the "generated-sources" directory between the 2 builds, they both succeed.
So I guess the bug here is that incremental compilation doesn't delete the "generated-sources" directory.
Affects: 3.7.0
Issue Links:
("causes")
Remote Links:
0 votes, 6 watchers