views:

27

answers:

1

Hi all,

I am trying to build subprojects from my main Ant build script..

The build files are located in

plugings/<pluginName>/build.xml

I want to do something effectively like

<ant antfile="plugins/*/build.xml" ...>

It should dynamically find build files in the plugin directory. Haven't been able to get it to work yet with filesets.. any tips?

Thanks in advance.

Solution: <subant> was the task I was looking for

+1  A: 

These links show you a way of building sub-projects:

Sample Ant build file for multiple projects

Ant Tip 1: Write a master build file

Check this answer:

http://stackoverflow.com/questions/1469786/generate-ant-build-file/1494659#1494659

Leniel Macaferi
yes, but what I want is to be able to use patterns for the filenames/path to build files. I want it to dynamically build all the plugins as they are added
lucks
I updated the answer...
Leniel Macaferi