What am I doing wrong?
(ant 1.5a built about a week ago)
Given this build.xml:
<project name="test" default="testtarget">
<property name="dist.dir" value="/build" />
<target name="testtarget">
<pathconvert targetos="windows" property="p1" >
<path>
<pathelement location="${dist.dir}" />
</path>
<map from="/" to="c:\"/>
</pathconvert>
<echo message="mapped ${dist.dir} ==> ${p1}"/>
</target>
</project>
Why do I get this output?
E:\> ant
Buildfile: build.xml
testtarget:
[echo] mapped /build ==> E:\build
BUILD SUCCESSFUL
Total time: 1 second
Given the script above, shouldn't the result be "c:\build"?
-----------------------------------------------------------------
Steve Cohen
Sr. Software Engineer
Ignite Sports, Inc.
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>