ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49756] Copy doesn't support string resources
Date Tue, 17 Aug 2010 10:23:17 GMT

--- Comment #2 from Stefan Bodewig <> 2010-08-17 06:23:15 EDT ---
OK, this is not really a bug, it is expected behaviour.

When you use the tofile attribute, only file system resources are supported.
Not that I'd see any good reason why tofile couldn't work with arbitrary
resources, but it is the way it is - I'll change this to an enhancement request

The documentation even says so if you are willing to read it that way (no, it
not clear and I'll change that as well):

> To use a resource collection, the todir attribute must be set.

In your case you want to do something like

<copy todir="${dir}">
  <mergemapper to="somefile"/>

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

View raw message