https://issues.apache.org/bugzilla/show_bug.cgi?id=50769
Summary: SCP needs to align with the COPY task and support
nested resource collections
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Optional Tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
Ant 1.7 provided an updated COPY task that allows passing in resource
collections, rather than exclusively filesets. This change hasn't made it to
SCP.
The situation I'm in right now is that I need to code an Ant macro that uses
COPY or SCP depending on the target files' location. My resource collection may
be a "SORT" collection. That works wonderfully for COPY, fails for SCP. SCP
wouldn't even accept a SORT-wrapped fileset:
<sort id="mycollection">
<fileset dir="some-directory"/>
</sort>
.
.
.
<scp>
<resources refid="mycollection"/>
</scp>
(Claiming that "mycollection" is not a fileset reference)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.