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 13137] - Semicolon as path separator.
Date Wed, 02 Oct 2002 14:55:07 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=13137>.
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=13137

Semicolon as path separator.





------- Additional Comments From jakarta@ehatchersolutions.com  2002-10-02 14:55 -------
I get the following effect from this build file sample:

<project name="path" default="default">
  <target name="default">
    <apply executable="cmd" dest="docs">
      <arg line="/c echo"/>
      <arg value="convert"/>
      <srcfile/>
      <targetfile/>
      <arg path="path.xml;junk.jar"/>
      <fileset dir ="." includes="*.xml"/>
      <mapper type="glob" from="*.xml" to="*.pdf"/>
    </apply>
  </target>
</project>

It generated this:

ant -f path.xml
Buildfile: path.xml
    [apply] convert C:\temp\build_orig_4.xml
C:\temp\docs\build_orig_4.pdf C:\te
mp\path.xml;C:\temp\junk.jar
    [apply] convert C:\temp\mssql-service_1.2_1.xml
C:\temp\docs\mssql-service_1
.2_1.pdf C:\temp\path.xml;C:\temp\junk.jar
    [apply] convert C:\temp\path.xml C:\temp\docs\path.pdf
C:\temp\path.xml;C:\t
emp\junk.jar

default:

BUILD SUCCESSFUL
Total time: 2 seconds

Notice that each output has the semicolons on it.  I switched it to an <exec>
also and the semicolons came out fine with full path names for each of the
relatively specified paths on <arg path>.

I don't really see the need for an enhancement, since the desired effect is
already possible.

--
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