简体   繁体   中英

Using a shared library in a project and build it using Ant

我有一个使用项目B作为其库的项目A。我该怎么做才能通过使用ant创建构建?我试图在我的android项目中使用它而不使用eclipse的向导来为我做这个。

Create a target for project A that depends on project B.

<target name="projectB" description="Builds project B">
    <!-- all the tasks to build project B -->
    ...
</target>

<target name="projectA" depends="projectB" description="Builds project A">
    <!-- all the tasks to build project A -->
    ...
</target>

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