In article <[EMAIL PROTECTED]>,
Hanasaki JiJi  <[EMAIL PROTECTED]> wrote:
>1. how can ant script1 call ant script2 and the properites set/reset in 
>script2 are available in script1?
>
>2. how can ant script1 call ant script2 and the properites set/reset in 
>script2 are NOT available in script1?

First, properties can NOT be reset.  So the called environment simply isn't
going to be able to change anything.

Second, the called environment is removed upon return.  So you cannot
directly return properties.

What I usually do is make use of <propertyfile/> and <property file="..."/>
to pass things back up.

mrc
-- 
     Mike Castle      [EMAIL PROTECTED]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to