ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Including other build files
Date Tue, 24 Jun 2003 16:46:25 GMT
In ant 1.6alpha, there is a <subant/> task which does a part of what you
want : can execute ant with all build.xml files located under a specific
directory for instance.
Antoine
----- Original Message -----
From: "Faist, Jeff" <Jeff.Faist@encodasystems.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Tuesday, June 24, 2003 6:42 PM
Subject: RE: Including other build files


> I tried this command and it works for stepping though a dir tree
> systematically but if the ordering of the list is incorrect things may not
> get built.
>
> I was looking for more of a include that would literally bring in all the
> build.xml files into a single file ( or memory or ant session so to
speak )
> and then create a to-do list then run that to-do list. ( e.g. just like
make
> )
>
> is there a way to do that?
>
> should I instead have a build rule for each built file with a unique
target
> name ( build.mydll.dll ) in one huge build.xml file instead of build.xml
> files in each dir with the generic target name of "build"?
>
>
> JEff
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jeffrey W. Faist
> Configuration Management Analyst
> Encoda Systems, Inc.
> 1999 Broadway, Suite 4000
> Denver, Colorado 80202-3050 USA
> jeff.faist@encodasystems.com
> Direct Phone Line: +1 (303) 390 8496
> Fax Line: +1 (303) 390 8425
>
>
> -----Original Message-----
> From: Hiron [mailto:hironm@metapa.net]
> Sent: Friday, June 20, 2003 3:07 PM
> To: 'Ant Users List'
> Subject: RE: Including other build files
>
>
> If my understanding is correct, what you need is something like:
> <ant antfile="subproject/subbuild.xml" dir="subproject"
> target="compile"/>
>
> Regards,
> Hiron
>
> -----Original Message-----
> From: Faist, Jeff [mailto:Jeff.Faist@encodasystems.com]
> Sent: Friday, June 20, 2003 2:05 PM
> To: Ant Users List (E-mail)
> Subject: Including other build files
>
> In make I would include all makefiles in a tree and do a single build.
>
> I did not notice and equivalent in the manuals how to include nested
> build.xml files in a dir tree so I can do a dependent build of an entire
> dir
> tree.
>
> Would I be correct to assume that I should simply do a for each dir and
> spawn another ant session in each dir to build that dir.?
>
> JEff
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jeffrey W. Faist
> Configuration Management Analyst
> Encoda Systems, Inc.
> 1999 Broadway, Suite 4000
> Denver, Colorado 80202-3050 USA
> jeff.faist@encodasystems.com
> Direct Phone Line: +1 (303) 390 8496
> Fax Line: +1 (303) 390 8425
>
>
>
> "This information in this e-mail is intended solely for the addressee
> and
> may contain information which is confidential or privileged.  Access to
> this
> e-mail by anyone else is unauthorized.  If you are not the intended
> recipient, or believe that you have received this communication in
> error,
> please do not print, copy, retransmit, disseminate, or otherwise use the
> information. Also, please notify the sender that you have received this
> e-mail in error, and delete the copy you received."
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> "This information in this e-mail is intended solely for the addressee and
> may contain information which is confidential or privileged.  Access to
this
> e-mail by anyone else is unauthorized.  If you are not the intended
> recipient, or believe that you have received this communication in error,
> please do not print, copy, retransmit, disseminate, or otherwise use the
> information. Also, please notify the sender that you have received this
> e-mail in error, and delete the copy you received."
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message