--- "Koegel, Michael" <[EMAIL PROTECTED]> wrote:
> maybe this works on Unix, but not on M$ or did I do it wrong?
> 
>     <target name="props">
>       <property environment="env"/>
>       <exec executable="cmd.exe">
>         <arg line="/c set foo2=bar2"/>
>       </exec>
>       <echo message="foo2=${env.foo2}"/>
>     </target>

That wouldn't be right on Unix, either.  Try (for M$):
  <target name="echofoo">
    <exec executable="cmd.exe">
      <env key="foo2" value="bar2"/>
      <arg line="/c echo %foo2%"/>
    </exec>
  </target>

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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

Reply via email to