简体   繁体   中英

How to Build Multiple Android Projects in one go

I have one Android Project. I created Junit test project for the same. I can build the both projects using ANT script independently. Now, I want to write the script which will call this ANT scripts and build the project. How I can do it ?

I am currently using Windows-Xp, eclipse- Galileo, jdk - 6

Use the ant task in ant.

You can then write a "binding" build.xml file which calls all of the other "build.xml" files with the appropriate tasks (in whatever appropriate order).

An example (from the manual)

<ant antfile="subproject/subbuild.xml" target="compile"/>

Which would then call the "compile" target in the subproject/subbuild.xml file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM