cern.jjar
Class UpdateClasspathTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by cern.jjar.UpdateClasspathTask

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

Updates the classpath property based on the jar available in the lib directory

Version:
$Id: UpdateClasspathTask.java,v 1.3 2005/01/10 08:15:59 lmestre Exp $
Author:
Lionel Mestre

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
UpdateClasspathTask()
           
 
Method Summary
 void execute()
          Execute the configured task
 void setFailOnError(boolean failOnError)
           
 void setLocaldescriptor(File localdescriptor)
           
 void setLocalrepository(String localrepository)
           
 void setPathrefid(String pathrefid)
           
 void setProjectclassesdirectory(String projectclassesdirectory)
           
 
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

UpdateClasspathTask

public UpdateClasspathTask()
Method Detail

setPathrefid

public void setPathrefid(String pathrefid)

setProjectclassesdirectory

public void setProjectclassesdirectory(String projectclassesdirectory)

setLocalrepository

public void setLocalrepository(String localrepository)

setFailOnError

public void setFailOnError(boolean failOnError)

setLocaldescriptor

public void setLocaldescriptor(File localdescriptor)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the configured task

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 © 2007 CERN. All Rights Reserved.