org.jvnet.lafwidget.ant
Class AugmentMainTask

java.lang.Object
  extended by Task
      extended by org.jvnet.lafwidget.ant.AugmentMainTask

public class AugmentMainTask
extends Task

Ant task for augmenting main LAF class. Is based on JiBX ant task (BSD-licensed).


Constructor Summary
AugmentMainTask()
           
 
Method Summary
 void addClassPathSet(FileSet fSet)
           
 void addDelegate(UiDelegateType delegate)
           
 Path createClasspath()
          Creates the classpath for this task and returns it.
 void execute()
           
 Path getClasspath()
          Returns the current classpath.
 void init()
           
 void setClasspath(Path classpath)
          Sets the classpath for this task.
 void setMainlafclassname(java.lang.String string)
           
 void setVerbose(boolean bool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AugmentMainTask

public AugmentMainTask()
Method Detail

init

public void init()
          throws BuildException
Throws:
BuildException

execute

public void execute()
             throws BuildException
Throws:
BuildException

addClassPathSet

public void addClassPathSet(FileSet fSet)
Parameters:
fSet -

addDelegate

public void addDelegate(UiDelegateType delegate)
Parameters:
delegate -

getClasspath

public Path getClasspath()
Returns the current classpath.

Returns:
Current classpath.

setClasspath

public void setClasspath(Path classpath)
Sets the classpath for this task. Multiple calls append the new classpath to the current one, rather than overwriting it.

Parameters:
classpath - The new classpath as a Path object.

createClasspath

public Path createClasspath()
Creates the classpath for this task and returns it. If the classpath has already been created, the method just returns that one.

Returns:
The created classpath.

setMainlafclassname

public void setMainlafclassname(java.lang.String string)
Parameters:
string -

setVerbose

public void setVerbose(boolean bool)
Parameters:
bool -