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 50769] New: SCP needs to align with the COPY task and support nested resource collections
Date Sun, 13 Feb 2011 19:46:23 GMT
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: notifications@ant.apache.org
        ReportedBy: isaac@shabtay.com


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.

Mime
View raw message