ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Reference to the Current Project
Date Mon, 20 Jan 2003 13:50:00 GMT
On Monday, January 20, 2003, at 08:34  AM, SimonRichardson2@hbosts.com 
wrote:
> My problem (***) is that I would like to 'antcall' some other target 
> (that contains my javascript) and in so doing set a property.  However 
> I find that on returning from my antcall the property remains unset.
>
> Reading the archives I understand that antcall creates another project 
> and I guess that all properties are set in this instance - hence the 
> reason why they're 'lost'.
>
> Is there a solution to my problem (***)?


The general workaround for this is to write out a properties file in 
the target called, and then read it back when it returns.

	Erik


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


Mime
View raw message