ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21097] - pathconvert with targetos=unix does not work on Windows
Date Sun, 29 Jun 2003 14:51:36 GMT
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

antoine@apache.org changed:

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



------- Additional Comments From antoine@apache.org  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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message