You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by arijit <gh...@wipro.com> on 2007/06/08 13:04:32 UTC

call other build files

Hi,

1. Is it possible to call Build2 file from Build1 which is executed using
ANT ? 
2. Is it possible to execute a particular task in Build2, by calling it from
Build1 ?

Regards,
Arijit
-- 
View this message in context: http://www.nabble.com/call-other-build-files-tf3889095.html#a11024407
Sent from the Ant - Users mailing list archive at Nabble.com.


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


RE: call other build files

Posted by arijit <gh...@wipro.com>.
Thanks Gilbert. This means that <ant> task will be able to help me out 


Rebhan, Gilbert wrote:
> 
>  
> 
> Hi,
> 
> -----Original Message-----
> From: arijit [mailto:ghosh.arijit@wipro.com] 
> Sent: Friday, June 08, 2007 1:05 PM
> To: user@ant.apache.org
> Subject: call other build files
> 
> 
> /*
> 
> 1. Is it possible to call Build2 file from Build1 which is executed
> using
> ANT ? 
> 2. Is it possible to execute a particular task in Build2, by calling it
> from
> Build1 ?
> */
> 
> 1. yes
> 2. yes
> 
> see =
> 
> http://ant.apache.org/manual/CoreTasks/ant.html
> 
> 
> Regards, Gilbert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/call-other-build-files-tf3889095.html#a11024578
Sent from the Ant - Users mailing list archive at Nabble.com.


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


RE: call other build files

Posted by "Rebhan, Gilbert" <Gi...@huk-coburg.de>.
 

Hi,

-----Original Message-----
From: arijit [mailto:ghosh.arijit@wipro.com] 
Sent: Friday, June 08, 2007 1:05 PM
To: user@ant.apache.org
Subject: call other build files


/*

1. Is it possible to call Build2 file from Build1 which is executed
using
ANT ? 
2. Is it possible to execute a particular task in Build2, by calling it
from
Build1 ?
*/

1. yes
2. yes

see =

http://ant.apache.org/manual/CoreTasks/ant.html


Regards, Gilbert

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


Re: call other build files

Posted by arijit <gh...@wipro.com>.
Thanks Bob. Gilbert pointed me to the same location. I have got a sample
working :)


Bob Aiello-2 wrote:
> 
> Yes
> http://ant.apache.org/manual/CoreTasks/ant.html
> 
> It is pretty common to structure your ant build by using separate 
> build.xml's for
> each module. This is similar to the way that Maven is often used with a 
> separate
> pom.xml for each module. If you have trouble finding a working example -
> let
> me know and I will dig one up for you (later).
> 
> Bob
> bob.aiello@cmcrossroads.com
> 
> ----- Original Message ----- 
> From: "arijit" <gh...@wipro.com>
> To: <us...@ant.apache.org>
> Sent: Friday, June 08, 2007 7:04 AM
> Subject: call other build files
> 
> 
>>
>> Hi,
>>
>> 1. Is it possible to call Build2 file from Build1 which is executed using
>> ANT ?
>> 2. Is it possible to execute a particular task in Build2, by calling it 
>> from
>> Build1 ?
>>
>> Regards,
>> Arijit
>> -- 
>> View this message in context: 
>> http://www.nabble.com/call-other-build-files-tf3889095.html#a11024407
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/call-other-build-files-tf3889095.html#a11024698
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: call other build files

Posted by Bob Aiello <ra...@acm.org>.
Yes
http://ant.apache.org/manual/CoreTasks/ant.html

It is pretty common to structure your ant build by using separate 
build.xml's for
each module. This is similar to the way that Maven is often used with a 
separate
pom.xml for each module. If you have trouble finding a working example - let
me know and I will dig one up for you (later).

Bob
bob.aiello@cmcrossroads.com

----- Original Message ----- 
From: "arijit" <gh...@wipro.com>
To: <us...@ant.apache.org>
Sent: Friday, June 08, 2007 7:04 AM
Subject: call other build files


>
> Hi,
>
> 1. Is it possible to call Build2 file from Build1 which is executed using
> ANT ?
> 2. Is it possible to execute a particular task in Build2, by calling it 
> from
> Build1 ?
>
> Regards,
> Arijit
> -- 
> View this message in context: 
> http://www.nabble.com/call-other-build-files-tf3889095.html#a11024407
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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