On Tue, 2007-11-27 at 15:50 +0000, Joe Schmetzer wrote: > Here's the technique I use in these situations: > > http://www.exubero.com/ant/dependencies.html
Another modification to the same technique would be to import predefined "macrodef"s from a common-build script. This way the build file importing the macros can pass its preferences as attributes. And the build file looks much more readable. -Prashant > > Cheers, > Joe > > On Tue, November 27, 2007 3:23 pm, Dimitris Mouchritsas wrote: > > Hi all, I'm trying to figure out what's the best way to handle a J2EE > > project with different modules. > > I'm thinking to create a sub project structure a bit like Maven but have > > ant > > build files. I can handle > > each project separately easily. My problem is interconnecting the > > sub-projects. For example I would > > like, when compiling the war servlet classes to depend on the EJB jar > > being > > up to date. So I would like > > to use a master build file but have each sub-project understand its > > dependencies. Are there any best > > practices that you know of? > > > > -- > > Dimitris Mouchritsas > > Computer Services > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]