Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341693 - [documentation] new copyActor added to Buckminster
Summary: [documentation] new copyActor added to Buckminster
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-02 03:27 EDT by Thomas Hallgren CLA
Modified: 2019-02-25 14:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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