Description:
Exports Java source files, class files and/or resources from the workspace to the file system. Exports can be specified by giving the VAJ project name and package name(s). This works very similar to FileSets.
Parameters
Attribute | Description | Required |
destdir | location to store the exported files | yes |
exportSources | export source files (default: "yes") | no |
exportResources | export resource files (default: "yes") | no |
exportClasses | export class files (default: "no") | no |
exportDebugInfo | include debug info in exported class files (default: "no") | no |
defaultexcludes | use default excludes when exporting (default: "yes"). Default excludes are: IBM*/**, Java class libraries/**, Sun class libraries*/**, JSP Page Compile Generated Code/**, VisualAge*/** | no |
overwrite | overwrite existing files (default: "yes") | no |
remote | name and port of a remote tool server. (format: <servername>:<port no>). If this attribute is set, the tasks will be executed on the specified tool server. | no |
Parameters specified as nested elements
include
specifies the packages to include into the export
Attribute | Description | Required |
name | name of the VAJ project and package to export. The first element of the name must be the project name, then the package name elements separated by '/'. | yes |
exclude
specifies the packages to exclude from the export
Attribute | Description | Required |
name | name of the VAJ project/package not to export | yes |
<vajexport destdir="${src.dir}" exportResources="no"> <include name="MyProject/**"/> <exclude name="MyProject/test/**"/> </vajexport>This example exports all packages in the VAJ project 'MyProject', except packages starting with 'test'.
Default Excludes
The default excludes are:
IBM*/** Java class libraries/** Sun class libraries*/** JSP Page Compile Generated Code/** VisualAge*/**