-
Notifications
You must be signed in to change notification settings - Fork 30
Property to change "Generated test source directory" #95
Comments
Oh wow, this is news to me! For years Eclipse only had a single output directory for both main and test, and I'm not an Eclipse user so… Could you tell me the configuration key in Also, as you're at it, which other keys are there in this file? Currently, the plugin will generate: org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=.apt_generated
org.eclipse.jdt.apt.reconcileEnabled=true (and |
Had to rename the test src dir, to see the changes in the org.eclipse.jdt.apt.core.prefs file |
There is of course a new line after the version property, but somehow the format got corrupted. Sorry for that. |
Eclipse version I use is 2018-12 with Buildship 3.0.1 |
Thanks, will add this (possibly not before this weekend though, and I have no idea when I'll cut the next release) |
Thank you very much. Hope you will release soon ;-) |
Pending v0.21, you should be able to configure it from the build using something like: eclipse {
jdt {
apt {
withProperties { properties ->
properties["org.eclipse.jdt.apt.genTestSrcDir"] = project.file("bin/.apt_generated_tests")
}
}
}
} |
Hello,
is it possible to change the Eclipse configuration where the "Generated test source directory" is?
Eclipse generates a folder with the name ".apt_generated_tests" in the project's directory.
I know there is a property in the net.ltgt.gradle.apt.EclipseJdtApt with name "genSrcDir" which I changed to another directory. Is there a chance to do this also for the ".apt_generated_tests"?
Regards
jmeierhofer
The text was updated successfully, but these errors were encountered: