|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task com.finalist.tools.ant.taskdefs.LibAvailableTask
Checks if an external library exists in the specified directory and has the correct version, or otherwise checks out the correct library from CVS. This ant target has the following format:
<checklib dir="${lib.dir}"> <lib version="v1_4_1" file="shared/jakarta/ant/ant.jar" /> <lib version="v1_4_1" file="shared/jakarta/ant/optional.jar" /> </checklib>Where 'version' is the required CVS revision tag and 'file' the relative path in CVS of the library file. If the attribute 'dir' of the checklib target is not specified, the default value "lib" is used.
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 | |
LibAvailableTask()
|
Method Summary | |
void |
addLib(Lib lib)
Add a nested jar element as required external library. |
void |
execute()
|
void |
setDir(java.io.File directory)
Optional destination directory, defaults to "lib". |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
public LibAvailableTask()
Method Detail |
public void setDir(java.io.File directory)
directory
- the directory containing the library.public void addLib(Lib lib)
lib
- the external library filepublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |