File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes How does ant resolve internal dependencies in a large project? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "How does ant resolve internal dependencies in a large project?" Watch "How does ant resolve internal dependencies in a large project?" New topic
Author

How does ant resolve internal dependencies in a large project?

Tom Griffin
Greenhorn

Joined: Oct 07, 2002
Posts: 6
I have a large project consists of several EJBs and common utilities. Each EJB and utility is a subproject and there are very complex dependencies between them, for example: EJB-a depends on Utility-A, EJB-b depends on EJB-A, blah,blah, blah... The project is currently under the hood of Apache maven and I wants to migrate it to Apache ant, but I have no idea how to solve the dependencies in ant. Anyone here can give some suggestion?
Tim Tibbons
Greenhorn

Joined: Mar 23, 2004
Posts: 3
For our project we built a java tool over the top of ANT to manage dependencies between our targets. The tool manages what gets built, in what order, and maintains the complex dependencies between the targets. That seems to work well for us. You can manage dependencies in ANT with the 'depends=' attribute, but for large projects with many build.xml files this is not enough. I would suggest creating your own tool... unless something else out there is available..?
[ March 30, 2004: Message edited by: Tim Tibbons ]
 
IntelliJ Java IDE
 
subject: How does ant resolve internal dependencies in a large project?
 
Threads others viewed
eclipse ganymede - how to redirect non ejb library jars to lib
Running ant from within WebSphere
app modules
Ant problem with EJB utility project
Maven or Ant?
developer file tools