If you have multiple projects and you want to build them the right order, you can also use ivy (http://incubator.apache.org/ivy/). It's a dependency managment tool having ant tasks to order a list of subproject according to their respective dependencies (http://incubator.apache.org/ivy/doc/use/buildlist.html). It use a metadata XML file to descibes the dependency of every module. Ivy can also use this file to do a lot of other thinks like definind classpaths or fileset, or producing report.
Gilles Doug Lochart-3 wrote: > > Joe Schmetzer wrote: >> On Thu, 24 May, 2007 12:46 pm, query wrote: >> >>> Earlier I was using some other build tool to build my project. Here if a >>> target is built and if the same target is used to build some other >>> target, >>> it compares the timestamp and will not build the dependent targets >>> again. >>> As I started working on ANT, I found it very useful and intersting. But >>> in >>> ANT, while building each target, it will try to build all the dependent >>> targets that many times as it occurs in different targets. As a result >>> it >>> is increasing project\'s build time.Is there any task to ensure that the >>> dependent targets once built will not be built again ???? >>> >> >> If you're willing to reorganise you build targets into different >> projects, >> the technique described here can help: >> >> http://www.exubero.com/ant/dependencies.html >> >> HTH >> > I like this approach. I may look into adopting it. I have projects > very segregated already so adopting this style should be easy and > painless. > > thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Building-Dependent-targets-tf3809595.html#a10798131 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]