ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45625] <apply> Forces a space in arguments when using <targetfile> or <srcfile>
Date Mon, 29 Jun 2009 09:41:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45625


Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0




--- Comment #3 from Stefan Bodewig <bodewig@apache.org>  2009-06-29 02:41:53 PST ---
I cam across this issue when I applied the patch for bug #47365 - and applied a
similar idea here.

While the mapper approach is more powerful, prefix and suffix are easier to
explain (how do the mappers you define at the task level interact with those at
the argument level?) and likely are sufficient.

The original problem becomes

<apply executable='ant'
       ...>
  <fileset refid="my.fileset"/>
  <targetfile prefix="-Dmy.prop="/>
  <arg value="-f"/>
  <srcfile/>
  <mapper type="glob" from"*.xml" to="*.txt"/>
</apply>

svn revision 789271 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=789271 )

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message