-
Notifications
You must be signed in to change notification settings - Fork 40
outputDirectory not cleaned during incremental updates or project clean in Eclipse #15
Comments
I wil take a look if this can be better handled for IDE based builds. |
I also noticed in refactoring a class name, that although the new QClass is properly generated, all code still refers to the old Q class. I don't know if there would be a way to indicate to Eclipse that the Q class' name is being changed by the Entity class name change and to include it in the refactor process. |
It's possible to get the deleted source in the plugin but I don't yet how to get access to the generated files. |
I have worked-around this by creating a new Ant builder in the Eclipse project, and made it delete every generated sources in a given target. Then, in the builder Targets tab, select that target's name in the During a Clean field. |
I've been moved onto another project at the moment (which is much different Thx! Eric On Sat, Oct 11, 2014 at 9:58 AM, Timo Westkämper [email protected]
|
I don't know if this is a plugin issue, a configuration issue, or just plain not feasible. But I've noticed that when I make changes to my classes the plugin will make incremental changes to the Q-classes. That is great.
However, if I clean the project, then all the generated files in the outputDirectory remain. Furthermore, if I refactor a classname, the old Q-class remains even though the new Q class is generated as well. I can, of couse, clean the outputDirectory by issuing: mvn clean
I currently have my outputDirectory configured as:
target/generated-sources/apt
Is this a configuration issue on my behalf, or if it is an issue in the plugin.
I'm using m2e 1.2, and plugin 1.0.7.
Thanks,
Eric
The text was updated successfully, but these errors were encountered: