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 49756] Copy doesn't support string resources
Date Tue, 17 Aug 2010 10:23:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49756

--- Comment #2 from Stefan Bodewig <bodewig@apache.org> 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
later.

The documentation even says so if you are willing to read it that way (no, it
is
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"/>
  ...
</copy>

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