The way to accomplish this with Ant is to use <import> statements to include common build files or use the -f flag to specify a common build file for all the projects. However, if these solutions don't meet your needs you can also take a look at other solutions like these:

  - Gradle
  - Maven
  - Savant 1.5

All of these tools allow you to write common build scripts (sometimes called plugins) and reuse them across projects.

-bp


On Mar 5, 2009, at 5:50 AM, A A wrote:

Hello, to all the users from the list, it´s my first mail, and sorry for my poor english. Im starting to test ant, and building a script to automatized the deploys of my aplications, cause before i used to manual wget commands or autodeploys.

The problem is I have a more than 30 aplications and 3 diferentes enviroments for each aplications, so it woulb be like create 90 build.xml with the projects information.

Are there any posibility to simplifiy the project and build.xml properties declare?. It posible to create more than 1 project in a build.xml? Or all projects in the same build.xml

Thanks to all.





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to