Skip to Content

<pdeProjectFileSet>

Scope: PDE Projects

Description

The pdeProjectFileSet type can be used to define plug-in project relative file sets.

Note: The bundle root ('.') will be resolved to a directory with the name '@dot'.

Arguments

The pdeProjectFileSet type defines the following attributes:

Argument Description Required
workspaceDirectory Absolute path of the workspace directory Either 'workspaceDirectory' or 'workspaceId' has to be specified
workspaceId The identifier of a defined workspace (see <workspaceDefinition>) Either 'workspaceDirectory' or 'workspaceId' has to be specified
projectName Name of the eclipse project yes
includes Comma-separated list of patterns of files that must be included; no files are included when omitted. no
excludes Comma-separated list of patterns of files that must be excluded; no files (except default excludes) are excluded when omitted. no
defaultexcludes Indicates whether default excludes should be used or not (yes | no); default excludes are used when omitted. no
casesensitive Must the include and exclude patterns be treated in a case sensitive way? Defaults to true. no

Example usage

<copy todir="${destination}"
      overwrite="true">
 
  <ant4eclipse:pdeProjectFileSet workspace="${workspaceDirectory}"
                                 projectname="${project.name}"
                                 includes="META-INF,.,OSGI-INF"
                                 excludes="META-INF/todos.txt" />
</copy>