On Sat, 23 Feb 2002, Jose Alberto Fernandez <[EMAIL PROTECTED]>
wrote:
> First of all it works in ANT1.4.1.
Not for me:
[EMAIL PROTECTED] tmp]$ cat testpath.xml
<project default="test">
<target name="test">
<sequential>
<path id="test">
<pathelement location="/tmp" />
</path>
<property name="test-1" refid="test" />
<echo message="${test-1}" />
</sequential>
<property name="test-2" refid="test" />
<echo message="${test-2}" />
</target>
</project>
[EMAIL PROTECTED] tmp]$ /tmp/jakarta-ant-1.4.1/bin/ant -version
Ant version 1.4.1 compiled on October 11 2001
[EMAIL PROTECTED] tmp]$ echo $ANT_HOME
/tmp/jakarta-ant-1.4.1
[EMAIL PROTECTED] tmp]$ /tmp/jakarta-ant-1.4.1/bin/ant -f testpath.xml
Buildfile: testpath.xml
test:
BUILD FAILED
/tmp/testpath.xml:4: Could not create task of type: path. Common solutions are
to use taskdef to declare your task, or, if this is an optional task, to put
the optional.jar in the lib directory of your ant installation (ANT_HOME).
Total time: 0 seconds
The result with 1.5alpha is
[EMAIL PROTECTED] jakarta-ant]$ ant -f /tmp/testpath.xml
Buildfile: /tmp/testpath.xml
test:
Overriding previous definition of reference to test
[echo] ${test-1}
[echo] /tmp
BUILD SUCCESSFUL
Total time: 1 second
which shows that it still doesn't work properly.
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>