Looking at the SDK's build.xml, I don't see any "exclude" arguments in the <javac> task.
I'd say hack it in if you need it. http://ant.apache.org/manual/Tasks/javac.html -- K On Wednesday, May 22, 2013 7:05:06 AM UTC+4, Deepwinter wrote: > > In Eclipse I have some sources that I exclude from the classpath. When I > compile with Ant, however, using 'ant release' I get build errors because > these files are not being excluded. > > How can I exclude files from the classpath when building with ant ? The > following line is included in .classpath file, yet the ant release script > still tried to build them. > > <classpathentry > excluding="org/odk/collect/android/activities/GeoPointMapActivity.java|org/odk/collect/android/widgets/GeoPointWidget.java|org/odk/collect/android/activities/GeoPointActivity.java" > > kind="src" path="src"/> > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

