I have an Android project setup using the maven-android plugin. This plugin adheres to maven output folders for file location R.java(i.e. target/generated-sources/r).
However, when using this project in Eclipse, I cannot configure aapt to rely on this folder.
Even if I manually go to the project properties and configure the folders manually, the ADT plugin will turn on and reset only some of the settings (for example, add the folder /genback as the original folder and restore the output folder to /bin/classesinstead /target/classes), leaving the maven folder /target/generated-sources/rand breaking the project assembly.
I would like to use the default Maven folder structure with Eclipse ADT. Any ideas on how I can do this?
thank
Responding to comments:
- Yes, I am using the m2e-android plugin.
- Since ADT still generates R.java in
/gen, Eclipse will not compile if R.java underneath still exists target/generated-sources/rdue to duplicate class definitions.
source
share