|
|
|
@@ -168,18 +168,21 @@ public abstract class Task { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Called by the project to let the task initialize properly. Normally it does nothing. |
|
|
|
* Called by the project to let the task initialize properly. |
|
|
|
* |
|
|
|
* @throws BuildException if someting goes wrong with the build |
|
|
|
*/ |
|
|
|
public void init() throws BuildException {} |
|
|
|
|
|
|
|
/** |
|
|
|
* Called by the project to let the task do it's work. Normally it does nothing. |
|
|
|
* Called by the project to let the task do it's work. This method may be |
|
|
|
* called more than once, if the task is invoked more than once. For example, |
|
|
|
* if target1 and target2 both depend on target3, then running |
|
|
|
* "ant target1 target2" will run all tasks in target3 twice. |
|
|
|
* |
|
|
|
* @throws BuildException if someting goes wrong with the build |
|
|
|
*/ |
|
|
|
public void execute() throws BuildException {}; |
|
|
|
public void execute() throws BuildException {} |
|
|
|
|
|
|
|
/** |
|
|
|
* Returns the file location where this task was defined. |
|
|
|
|