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 16408] - For loop in ant.bat fails in ant-1.5.1 on Windows 9x
Date Sat, 25 Jan 2003 10:22:23 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=16408>.
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=16408

For loop in ant.bat fails in ant-1.5.1 on Windows 9x

conor@cortexebusiness.com.au changed:

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



------- Additional Comments From conor@cortexebusiness.com.au  2003-01-25 10:22 -------
If you refer to 
http://ant.apache.org/manual/install.html#installing

you will see that for Windows 98 (and ME), you should install Ant in a "short"
filename. A short filename is an 8.3 filename. The filename you have used,
\ant-1.5.1 is technically a long filename.

I don't think relying on the availability of the z: drive is something we could
adopt - it just makes too many assumptions about the user's environment.

I would suggest you adopt a name like \ant151 if you must have the version
number in there. It should still be quite clear. 

However, if you want to write scripts that depend on the Ant version number, why
not do them in Ant, itself. Include this

    <property resource="org/apache/tools/ant/version.txt"/>

This will define the VERSION property with the Ant version. You can set
conditions on the Ant version as follows

      <condition property="ant141">
        <equals arg1="${VERSION}" arg2="1.4.1"/>
      </condition>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message