|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--net.sourceforge.esw.ant.BuildNumberTask
Pulls a build number from a file and increments it for the current build number, then puts the new build number back into the file.
| Field Summary | |
protected static java.lang.String |
DELIMITER
|
protected java.lang.String |
filename
|
| 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 | |
BuildNumberTask()
|
|
| Method Summary | |
void |
execute()
Executes the task for this BuildNumberTask instance. |
void |
setFilename(java.lang.String aFilename)
Sets the filename attribute. |
| 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 |
| Field Detail |
protected java.lang.String filename
protected static final java.lang.String DELIMITER
| Constructor Detail |
public BuildNumberTask()
| Method Detail |
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskpublic void setFilename(java.lang.String aFilename)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||