Tuesday, May 21, 2013

[android-developers] Exclude files from classpath when building with Ant

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate