<property environment="env" />
<path id="classpath">
  <pathelement location="classes" />
  <pathelement location="${env.JUNIT_HOME}/junit.jar" />
  <pathelement location="${env.JFCUNIT_HOME}/jfcunit.jar" />
</path>

<javac ... classpathref="classpath" />

-----Original Message-----
From: Boris Garbuzov [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 31, 2002 1:09 PM
To: Ant Users List
Subject: recursive property assignment

Once I tried to accumulate Ant property, namely "classpath", recursively,
imitating my batch file
set CLASSPATH=
set CLASSPATH=%CLASSPATH%;classes
set CLASSPATH=%CLASSPATH%;%JUNIT_HOME%\junit.jar
set CLASSPATH=%CLASSPATH%;%JFCUNIT_HOME%\jfcunit.jar
and it failed, behaved as if every new assignment wiped the previous.
Unfortunately, I do not keep the source. What is the proper way to do it in
Ant?


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

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

Reply via email to