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: How to get 'return-properties' from an ant-call to another build-file?
Date Mon, 31 Oct 2005 07:04:26 GMT
Sub-build writes into a property file (<echoproperties>) and the master reads that (<property>).

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Roland Asmann [mailto:Roland.Asmann@cfc.at] 
>Gesendet: Sonntag, 30. Oktober 2005 20:55
>An: user@ant.apache.org
>Betreff: Re: How to get 'return-properties' from an ant-call 
>to another build-file?
>
>Can something like this be done with references also?
>Clover sets one reference, which I need to carry back to my 
>main buildfile as well...
>
>Roland
>
>
>On Sunday 30 October 2005 16:40, Dale Anson wrote:
>> See the "antfetch" task in ant-contrib or antelope.
>>
>> Ant-Contrib: http://ant-contrib.sourceforge.net
>> Antelope: http://antelope.tigirs.org
>>
>> Alternatively, you can have your sub-builds write the properties you 
>> want to a file with <echo>, then read them back in with 
><property> or 
>> <loadproperties>.
>>
>> Dale
>>
>> Roland Asmann wrote:
>> >Hi,
>> >
>> >I am using multiple build-files, and on some ocassions I want the  
>> >main-build to know about the properties that are being set 
>in one of 
>> >the  sub-builds. Can anybody tell me how to do this?
>> >
>> >Thanks!
>> >
>> >Roland
>> >
>> >
>> 
>>---------------------------------------------------------------------
>> >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
>
>
>---------------------------------------------------------------------
>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