org.apache.commons.jjar
Class JJARTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.commons.jjar.JJARTask

public class JJARTask
extends org.apache.tools.ant.Task

An ant task for doing JJAR stuff

Version:
$Id: JJARTask.java 155454 2005-02-26 13:23:34Z dirkv $

Field Summary
 
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
JJARTask()
           
 
Method Summary
 void execute()
          Execute the input script with Velocity
 void setClasspath(String classpath)
           
 void setLocalrepository(String localrep)
           
 void setOnlyDependencies(boolean b)
           
 void setPackage(String pkg)
          [REQUIRED] sets the package and version.
 void setPathrefid(String pathrefid)
           
 void setRepository(String rep)
           
 void setVerifyignore(boolean b)
           
 void setVersion(String version)
           
 
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

JJARTask

public JJARTask()
Method Detail

setPackage

public void setPackage(String pkg)
[REQUIRED] sets the package and version. ver can be null to get the default


setVersion

public void setVersion(String version)

setLocalrepository

public void setLocalrepository(String localrep)

setVerifyignore

public void setVerifyignore(boolean b)

setOnlyDependencies

public void setOnlyDependencies(boolean b)

setRepository

public void setRepository(String rep)

setClasspath

public void setClasspath(String classpath)

setPathrefid

public void setPathrefid(String pathrefid)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the input script with Velocity

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - BuildExceptions are thrown when required attributes are missing. Exceptions thrown by Velocity are rethrown as BuildExceptions.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.