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 Wed, 13 Aug 2008 14:17:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45625





--- Comment #1 from Matt Benson <gudnabrsam@yahoo.com>  2008-08-13 07:17:36 PST ---
Actually apply doesn't so much produce a space as send the target file as a
separate element of the argument array.  What might make sense here is to allow
the srcfile and targetfile nested elements to apply mappers to the arguments so
that you might, in your case, do:

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

WDYT?


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