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=21097>.
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=21097

pathconvert with targetos=unix does not work on Windows

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2003-06-29 14:51 -------
Your problem is that :
- properties are immutable,
- pathconvert cannot write to a property which exists already
change your build.xml like this :
  <target name="init">
    <pathconvert targetos="unix" property="foo.rootdir2" 
refid="foo.rootdir.path"/>
    <pathconvert targetos="unix" property="bar.rootdir2" 
refid="bar.rootdir.path"/>
    <echo>
       foo = ${foo.rootdir2}
       bar = ${bar.rootdir2}
    </echo>
  </target>

And it will work like a charm.
Cheers. Antoine.

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

Reply via email to