ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45625] New: <apply> Forces a space in arguments when using <targetfile> or <srcfile>
Date Wed, 13 Aug 2008 12:56:16 GMT

           Summary: <apply> Forces a space in arguments when using
                    <targetfile> or <srcfile>
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks

Many command line applications (including Ant) require that there be no space
between a command line argument type and its value.

For example:
ant -Dmy.prop=myfile.txt

If myfile.txt is a <targetfile> then it is not possible to run this command as:
<apply executable='ant'
  <fileset refid="my.fileset"/>
  <arg value="-Dmy.prop="/>
  <arg value="-f"/>
  <mapper type="glob" from"*.xml" to="*.txt"/>

Will produce calls like

ant -Dmy.prop= myfile.txt -f myfile.xml

There should be a method of specifying that there should be no spaces between
an argument and the <targetfile/> or <srcfile/>

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message