org.apache.tools.ant.taskdefs.optional.ide
public class VAJExport extends VAJTask
<vajexport destdir="C:/builddir/source"> <include name="/MyVAProject/org/foo/subsystem1/**" /> <exclude name="/MyVAProject/org/foo/subsystem1/test/**"/> </vajexport>exports all packages in the project MyVAProject which start with 'org.foo.subsystem1' except of these starting with 'org.foo.subsystem1.test'.
Parameters:
Attribute | Description | Required |
destdir | location to store the exported files | Yes |
exportSources | export Java sources, defaults to "yes" | No |
exportResources | export resource files, defaults to "yes" | No |
exportClasses | export class files, defaults to "no" | No |
exportDebugInfo | include debug info in exported class files, defaults to "no" | No |
defaultexcludes | use default excludes when exporting, defaults to "yes". Default excludes are: IBM/**, Java class libraries/**, Sun class libraries/**, JSP Page Compile Generated Code/**, Visual Age*/** | No |
overwrite | overwrite existing files, defaults to "yes" | No |
remote | remote tool server to run this command against (format: <servername> : <port no>) | No |
haltonerror | stop the build process if an error occurs, defaults to "yes" | No |
Field Summary | |
---|---|
protected File | destDir |
protected boolean | exportClasses |
protected boolean | exportDebugInfo |
protected boolean | exportResources |
protected boolean | exportSources |
protected boolean | overwrite |
protected PatternSet | patternSet |
protected boolean | useDefaultExcludes |
Method Summary | |
---|---|
PatternSet.NameEntry | createExclude()
add a name entry on the exclude list |
PatternSet.NameEntry | createInclude()
add a name entry on the include list |
void | execute()
do the export |
void | setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not; default true.
|
void | setDestdir(File destDir)
Set the destination directory into which the selected
items should be exported; required. |
void | setExcludes(String excludes)
Sets the set of exclude patterns. |
void | setExportClasses(boolean doExport)
optional flag to export the class files; default false. |
void | setExportDebugInfo(boolean doExport)
optional flag to export the debug info; default false.
debug info |
void | setExportResources(boolean doExport)
optional flag to export the resource file; default true. |
void | setExportSources(boolean doExport)
optional flag to export the Java files; default true. |
void | setIncludes(String includes)
Sets the set of include patterns. |
void | setOverwrite(boolean doOverwrite)
if Overwrite is set, files will be overwritten during export |
Parameters: useDefaultExcludes "true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.
Parameters: excludes the string containing the exclude patterns
Parameters: includes the string containing the include patterns