开发者

Ant: How can I perform tasks on multiple projects

开发者 https://www.devze.com 2023-01-24 11:37 出处:网络
I am currently working on a project 开发者_开发知识库that involves many subprojects that all have the same directory structure. I would like to setup a system where I can run ant build and ant will go

I am currently working on a project 开发者_开发知识库that involves many subprojects that all have the same directory structure. I would like to setup a system where I can run ant build and ant will go through each folder and run it's target on each of the folders.

There are multiple tasks like this besides compiling that I need to execute on each of the subprojects.

Does there already exist a method to handle this? Do I need to resort to scripting solutions?

Thanks.


look here good tutorial http://www.javaranch.com/journal/200603/AntPart1.html But in summary the subAnt task should work

0

精彩评论

暂无评论...
验证码 换一张
取 消