Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341693

Summary: [documentation] new copyActor added to Buckminster
Product: z_Archived Reporter: Thomas Hallgren <thomas>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Hallgren CLA 2011-04-02 03:27:10 EDT
A new copyActor was added as part of the solution for bug 309953. The copyActor is generic and performs a copy of its prerequisites to its output using ant-style include and exclude properties.

Actor Properties:
None

Properties:
includes
comma separated list of patterns [2] of files that should be excluded.

excludes
comma separated list of patterns of files that should be excluded.

defaultExcludes true/false (default true)
When this property is set, the standard Ant default excludes [2] will be in effect.

prerequisites
Any prerequisite that produce files.

Sample usage:

        <cs:private name="some.files.pruned" actor="copy">
            <cs:properties>
                <cs:property key="excludes" value="**/doc-files/**"/>
            </cs:properties>
            <cs:prerequisites>
                <cs:attribute name="some.files"/>
            </cs:prerequisites>
            <cs:products base="${buckminster.output}/temp/some.files.pruned/"/>
        </cs:private>


[1] http://ant.apache.org/manual/dirtasks.html#patterns
[2] http://ant.apache.org/manual/dirtasks.html#defaultexcludes