dcsimg
Ant | Passing Parameters into Child Build Script from the parent script
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Akshat_Mathur
Posted On:   Thursday, June 21, 2007 11:09 AM

Hi,


I am trying to create a common ant build xml file which can be called by other build XMLs.


Is there a means to pass parameters which can be set as properties into the called script using the parent XML.


As of now I only know of include and import features in ant which allow to allow inclusion of scriplets/complete build files respectively but none of them allow passing of parameters.


Correct me if I am wrong or suggest me another way of achieving the same.


Thanks
Akshat

Re: Ant | Passing Parameters into Child Build Script from the parent script

Posted By:   Robert_Lybarger  
Posted On:   Thursday, June 21, 2007 06:36 PM

Are you using the 'ant' task to make the call to the sub-builds? Read the docs about how properties are sent through to the child and/or how nested 'property' elements can specify that sort of thing. If you aren't using the 'ant' task, look into it and/or tell us how you're running the sub-build in the first place.
About | Sitemap | Contact