java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.objectstyle.woproject.ant.WOTask
org.objectstyle.woproject.ant.WOFramework
- public class WOFramework
- extends WOTask
Ant task to build WebObjects framework. For detailed instructions go to the
manual page .
| Methods inherited from class org.objectstyle.woproject.ant.WOTask |
addClasses, addResources, addWsresources, copyLibs, copyResources, copyWsresources, createDirectories, getJarName, getLibNames, getName, getPrincipalClass, hasClasses, hasJava, hasLib, hasResources, hasWs, jarClasses, setDestDir, setJarName, setName, setPrincipalClass, validateAttributes |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOFramework
public WOFramework()
addLib
public void addLib(org.apache.tools.ant.types.FileSet set)
- Overrides:
addLib in class WOTask
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Description copied from class:
org.apache.tools.ant.Task
- Called by the project to let the task do its work. This method may be
called more than once, if the task is invoked more than once.
For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
taskDir
protected java.io.File taskDir()
- location where WOTask is being built up: ie the .woa dir or the .framework dir.
In this case, the .framework dir.
- Specified by:
taskDir in class WOTask
resourcesDir
protected java.io.File resourcesDir()
- Description copied from class:
WOTask
- Returns a location where resources should be put.
For instance this can be WOComponents, EOModels etc.
- Specified by:
resourcesDir in class WOTask
wsresourcesDir
protected java.io.File wsresourcesDir()
- Description copied from class:
WOTask
- Returns a location where web server resources should be put.
WebServerResources are normally images, JavaScript files,
stylesheets, etc.
- Specified by:
wsresourcesDir in class WOTask
cleanUp
protected void cleanUp()
- Do any clean up necessary to allow this instance to be used again.