ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Runing subant depending on the sub projects names.
Date Tue, 26 Jul 2005 09:52:54 GMT
Simple selectors or name pattern.

<subant>
   <fileset ... includes="A/build.xml,B/build.xml"/>
</subant>


Jan
 

>-----Ursprüngliche Nachricht-----
>Von: hind.lwahhabi@accenture.com [mailto:hind.lwahhabi@accenture.com] 
>Gesendet: Dienstag, 26. Juli 2005 11:25
>An: user@ant.apache.org
>Betreff: RE: Runing subant depending on the sub projects names.
>
>
>hmm i am using subant filesets for the moment to run ALL the 
>build.xml under the root directory.
>Do u mean using filesets with regular expressions for example?
>
>-----Original Message-----
>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
>Sent: Tue 7/26/2005 11:01 AM
>To: user@ant.apache.org
>Subject: AW: Runing subant depending on the sub projects names.
> 
>Can´t you specify subants fileset according to your needs?
>
>Jan 
>
>>-----Ursprüngliche Nachricht-----
>>Von: hind.lwahhabi@accenture.com [mailto:hind.lwahhabi@accenture.com]
>>Gesendet: Dienstag, 26. Juli 2005 10:54
>>An: user@ant.apache.org
>>Betreff: Runing subant depending on the sub projects names.
>>
>>
>>Hello folks;
>>Is there an elegant way to call <subant> on subprojects, 
>using the name 
>>of each subproject?
>>I mean from the root build file, execute subprojects build files of 
>>subproject A, B,C but not D,E,F for instance.
>>For the moment i am using a tortuous way to do so: In the root build 
>>file->macrodef taken from the <subant> doc, pass the name of the 
>>project to run as a property and in the subproject
>>buildfile-> run the target if and only if the project name
>>matches the property given in the root file.
>>
>>Thx in advance.
>>
>>
>>This message is for the designated recipient only and may contain 
>>privileged, proprietary, or otherwise private information.  
>If you have 
>>received it in error, please notify the sender immediately and delete 
>>the original.  Any other use of the email by you is prohibited.
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
>This message is for the designated recipient only and may 
>contain privileged, proprietary, or otherwise private 
>information.  If you have received it in error, please notify 
>the sender immediately and delete the original.  Any other use 
>of the email by you is prohibited.
>
>

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


Mime
View raw message