Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.woproject.ant
Class WOFramework  view WOFramework download WOFramework.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.objectstyle.woproject.ant.WOTask
              extended byorg.objectstyle.woproject.ant.WOFramework

public class WOFramework
extends WOTask

Ant task to build WebObjects framework. For detailed instructions go to the manual page .


Field Summary
 
Fields inherited from class org.objectstyle.woproject.ant.WOTask
classes, destDir, jarName, lib, name, principalClass, resources, subtaskFactory, wsresources
 
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
WOFramework()
           
 
Method Summary
 void addLib(org.apache.tools.ant.types.FileSet set)
           
protected  void cleanUp()
          Do any clean up necessary to allow this instance to be used again.
 void execute()
          Called by the project to let the task do its work.
protected  java.io.File resourcesDir()
          Returns a location where resources should be put.
protected  java.io.File taskDir()
          location where WOTask is being built up: ie the .woa dir or the .framework dir.
protected  java.io.File wsresourcesDir()
          Returns a location where web server resources should be put.
 
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 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
 

Constructor Detail

WOFramework

public WOFramework()
Method Detail

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.