Closed GoogleCodeExporter closed 9 years ago
Using sdklib from the Android SDK, we should be able to parse
default.properties,
which is apparently where platform information for the project is read by the
ADT
plugin in Eclipse.
See this thread on Android Discuss for details from Xavier Ducrohet at Google:
http://groups.google.com/group/android-discuss/browse_thread/thread/c79df0ea6bda
013f
Original comment by hugo.josefson.old@gmail.com
on 17 Jul 2009 at 9:48
sdklib will not help you parse the .properties file, but that's easy to do
(it's a
basic property file). What sdklib will help you is resolve the value of the
"target"
property so that you can figure out the path to android.jar (and possibly other
jar
files) needed for the compilation. A good example is the custom Ant task that
does
just that (except the properties are imported automatically in build.xml). See
development/tools/anttasks/src/com/android/ant/SetupTask.java
Original comment by xav%andr...@gtempaccount.com
on 17 Jul 2009 at 10:45
Original comment by hugo.josefson.old@gmail.com
on 17 Dec 2009 at 8:24
Original comment by mosa...@gmail.com
on 22 May 2012 at 5:30
We are no longer using the issue tracking system on Google Code. Please refile
this issue on https://github.com/jayway/maven-android-plugin/issues if you
still have this problem with the latest release of the Android Maven Plugin
Original comment by mosa...@gmail.com
on 19 May 2014 at 4:18
Original issue reported on code.google.com by
hugo.josefson.old@gmail.com
on 17 Jun 2009 at 3:54