ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yan Lin <y...@yahoo.com>
Subject Re: How can I get pass a response in Ant?
Date Mon, 15 Mar 2004 16:12:12 GMT
Thank you all for the response!

I have used work-around in my file, since my ant call doesn't allow global properties.

Thanks again!

Gloria

--- "Jack J. Woehr" <jax@purematrix.com> wrote:
> Koji Sekiguchi wrote:
> 
> > > > How about using a property to pass back a response?
> > > That doesn't work. Try ant -f  ant-test-response-a.xml with
> > > the following two files in the current directory.
> >
> > Yes, you are right. ant/antcall doesn't seem to pass back
> > a response via ant property.
> 
> It is not a case of "pass back", it's that the frame in which the called
> file operates has its own copies of properties and does not influence
> variables residing in the frame of the calling file.
> 
> > So we can use depends attribute
> > to call another target at another build file which is imported
> > by import task:
> 
> That's better, because a target and all its depends operate in the same frame.
> 
> --
> Jack J. Woehr      # We have gone from the horse and buggy
> Senior Consultant  # to the moon rocket in one lifetime, but
> Purematrix, Inc.   # there has not been a corresponding moral
> www.purematrix.com # growth in mankind. - Dwight D. Eisenhower
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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


Mime
View raw message