DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19743>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19743

map does not translate correctly in pathconvert

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-05-29 20:32 -------
<?xml version="1.0"?>

<project name="pathconvert-test" basedir="." default="test1">
    <property name="test.dir" value="p1/p2"/>
    <property name="test.jar" value="test.jar"/>
    <target name="setup">
        <mkdir dir="${test.dir}"/>
        <touch file="${test.dir}/${test.jar}"/>
    </target>
    <target name="test1" depends="setup">
        <fileset id="testfileset" dir="${test.dir}"/>
        <pathconvert targetos="windows" refid="testfileset" property="display.
fileset">
            <map from="${test.dir}" to="lib"/>
        </pathconvert>
        <echo message="${display.fileset}"/>
    </target>
    <target name="cleanup">
        <delete dir="${test.dir}"/>
    </target>

</project>
I can reproduce your problem with the build file reproduced above.
Now, if I change this line
    <property name="test.dir" value="p1/p2"/>
into
    <property name="test.dir" location="p1/p2"/>
it works properly.
It would be possible to fix your problem also in the case of properties defined 
with value, but I would prefer not.
I close the case temporarily as WONTFIX.

Reply via email to