![]()
|
VAJImport (Apache Ant API)
org.apache.tools.ant.taskdefs.optional.ide
|
Attribute | Description | Required |
project | the name of the Project to import to | Yes |
importSources | import Java sources, defaults to "yes" | No |
importResources | import resource files (anything that doesn't end with .java or .class), defaults to "yes" | No |
importClasses | import class files, defaults to "no" | No |
Field Summary | |
protected java.util.Vector |
filesets
|
protected boolean |
importClasses
|
protected java.lang.String |
importProject
|
protected boolean |
importResources
|
protected boolean |
importSources
|
protected boolean |
useDefaultExcludes
|
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ide.VAJTask |
remoteServer |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
VAJImport()
|
Method Summary | |
void |
addFileset(FileSet set)
Adds a set of files (nested fileset attribute). |
void |
execute()
Do the import. |
protected void |
importFileset(FileSet fileset)
Import all files from the fileset into the Project in the Workspace. |
void |
setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not. |
void |
setImportClasses(boolean importClasses)
Flag to import .class files; optional, default false. |
void |
setImportResources(boolean importResources)
Import resource files (anything that doesn't end in .class or .java); optional, default true. |
void |
setImportSources(boolean importSources)
Import .java files; optional, default true. |
void |
setProject(java.lang.String projectName)
The VisualAge for Java Project name to import into. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.ide.VAJTask |
getUtil, setRemote |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector filesets
protected boolean importSources
protected boolean importResources
protected boolean importClasses
protected java.lang.String importProject
protected boolean useDefaultExcludes
Constructor Detail |
public VAJImport()
Method Detail |
public void setProject(java.lang.String projectName)
public void addFileset(FileSet set)
public void setImportClasses(boolean importClasses)
public void setImportResources(boolean importResources)
public void setImportSources(boolean importSources)
public void setDefaultexcludes(boolean useDefaultExcludes)
useDefaultExcludes
- "true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.public void execute() throws BuildException
BuildException
- if something goes wrong with the buildprotected void importFileset(FileSet fileset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |