textmaven.ant
Class GenClassPathScript
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
textmaven.ant.GenClassPathScript
- public class GenClassPathScript
- extends org.apache.tools.ant.taskdefs.MatchingTask
ANT task generating a script file. When executed the script file will set the environment variable
_tm_cp_files set to the fileset specified as parameter for the task.
Task attributes are:
prefix
Specifies the string to be used as prefix for each file in the fileset
name
Name of the output file
The files to be set are specfiied through a nested fileset element.
- Author:
- krebtho
Field Summary |
protected java.io.File |
mFile
|
protected java.util.Vector |
mFilesets
|
protected java.lang.String |
mPrefix
|
protected textmaven.ant.GenClassPathScript.Writer |
mWriter
|
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
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 |
Method Summary |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files required required on the classpath. |
void |
execute()
|
void |
setFile(java.io.File file)
Setter for the "file" attribute |
void |
setPrefix(java.lang.String prefix)
Setter for the "prefix" attribute |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, setDefaultexcludes, setExcludes, setExcludesfile, setIncludes, setIncludesfile, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, 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 |
mFile
protected java.io.File mFile
mFilesets
protected java.util.Vector mFilesets
mPrefix
protected java.lang.String mPrefix
mWriter
protected textmaven.ant.GenClassPathScript.Writer mWriter
GenClassPathScript
public GenClassPathScript()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
setFile
public void setFile(java.io.File file)
- Setter for the "file" attribute
setPrefix
public void setPrefix(java.lang.String prefix)
- Setter for the "prefix" attribute
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)
- Adds a set of files required required on the classpath.
- Parameters:
set
- the set of files required on the classpath
Copyright © 2002-2005 Sourceforge. All Rights Reserved.