yuchen931201 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

Maven plugin should never modify anything but target #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Other software might put R.java and java files generated from aidl files,
into src/main/java, which is the wrong place to keep dynamically generated
source code. Currently, maven-android-plugin works around that fact by
deleting conflicting files.

We should see if there is a way to not have to delete those files, and
still work correctly.

What version of maven-android-plugin are you using?
2.0.0-SNAPSHOT as of 2009-06-07.

What is the output of "mvn -version" on your machine?
Maven version: 2.0.10
Java version: 1.6.0_13
OS name: "linux" version: "2.6.28-11-generic" arch: "i386" Family: "unix"

Original issue reported on code.google.com by hugo.josefson.old@gmail.com on 7 Jun 2009 at 9:17

GoogleCodeExporter commented 9 years ago
Implementation note:
    Tell compiler to exclude specific .java files in source directory if there are
corresponding .aidl files.
    Tell compiler to exclude any R.java files in source directory.

Original comment by hugo.josefson.old@gmail.com on 7 Jun 2009 at 9:18

GoogleCodeExporter commented 9 years ago
the deletion of conflicting files is no longer needed... 

Original comment by mosa...@gmail.com on 23 Feb 2013 at 7:26