git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270209 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -19,7 +19,7 @@ public abstract class Task | |||||
| * example, if target1 and target2 both depend on target3, then running "ant | * example, if target1 and target2 both depend on target3, then running "ant | ||||
| * target1 target2" will run all tasks in target3 twice. | * target1 target2" will run all tasks in target3 twice. | ||||
| * | * | ||||
| * @throws BuildException if someting goes wrong with the build | |||||
| * @throws TaskException if someting goes wrong with the build | |||||
| */ | */ | ||||
| public void execute() | public void execute() | ||||
| throws TaskException | throws TaskException | ||||
| @@ -29,9 +29,9 @@ public abstract class Task | |||||
| /** | /** | ||||
| * Called by the project to let the task initialize properly. | * Called by the project to let the task initialize properly. | ||||
| * | * | ||||
| * @throws BuildException if someting goes wrong with the build | |||||
| * @throws TaskException if someting goes wrong with the build | |||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| throws TaskException | throws TaskException | ||||
| { | { | ||||
| } | } | ||||
| @@ -146,7 +146,7 @@ public class ANTLR extends Task | |||||
| * | * | ||||
| * @exception TaskException Description of Exception | * @exception TaskException Description of Exception | ||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| throws TaskException | throws TaskException | ||||
| { | { | ||||
| addClasspathEntry( "/antlr/Tool.class" ); | addClasspathEntry( "/antlr/Tool.class" ); | ||||
| @@ -395,7 +395,7 @@ public class JUnitTask extends Task | |||||
| * classpath - this should make the forked JVM work without having to | * classpath - this should make the forked JVM work without having to | ||||
| * specify them directly. | * specify them directly. | ||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| addClasspathEntry( "/junit/framework/TestCase.class" ); | addClasspathEntry( "/junit/framework/TestCase.class" ); | ||||
| addClasspathEntry( "/org/apache/tools/ant/Task.class" ); | addClasspathEntry( "/org/apache/tools/ant/Task.class" ); | ||||
| @@ -93,7 +93,7 @@ public abstract class P4Base extends org.apache.tools.ant.Task | |||||
| this.P4View = P4View; | this.P4View = P4View; | ||||
| } | } | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| util = new Perl5Util(); | util = new Perl5Util(); | ||||
| @@ -79,7 +79,7 @@ public class SoundTask extends Task | |||||
| } | } | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| } | } | ||||
| @@ -19,7 +19,7 @@ public abstract class Task | |||||
| * example, if target1 and target2 both depend on target3, then running "ant | * example, if target1 and target2 both depend on target3, then running "ant | ||||
| * target1 target2" will run all tasks in target3 twice. | * target1 target2" will run all tasks in target3 twice. | ||||
| * | * | ||||
| * @throws BuildException if someting goes wrong with the build | |||||
| * @throws TaskException if someting goes wrong with the build | |||||
| */ | */ | ||||
| public void execute() | public void execute() | ||||
| throws TaskException | throws TaskException | ||||
| @@ -29,9 +29,9 @@ public abstract class Task | |||||
| /** | /** | ||||
| * Called by the project to let the task initialize properly. | * Called by the project to let the task initialize properly. | ||||
| * | * | ||||
| * @throws BuildException if someting goes wrong with the build | |||||
| * @throws TaskException if someting goes wrong with the build | |||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| throws TaskException | throws TaskException | ||||
| { | { | ||||
| } | } | ||||
| @@ -146,7 +146,7 @@ public class ANTLR extends Task | |||||
| * | * | ||||
| * @exception TaskException Description of Exception | * @exception TaskException Description of Exception | ||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| throws TaskException | throws TaskException | ||||
| { | { | ||||
| addClasspathEntry( "/antlr/Tool.class" ); | addClasspathEntry( "/antlr/Tool.class" ); | ||||
| @@ -395,7 +395,7 @@ public class JUnitTask extends Task | |||||
| * classpath - this should make the forked JVM work without having to | * classpath - this should make the forked JVM work without having to | ||||
| * specify them directly. | * specify them directly. | ||||
| */ | */ | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| addClasspathEntry( "/junit/framework/TestCase.class" ); | addClasspathEntry( "/junit/framework/TestCase.class" ); | ||||
| addClasspathEntry( "/org/apache/tools/ant/Task.class" ); | addClasspathEntry( "/org/apache/tools/ant/Task.class" ); | ||||
| @@ -93,7 +93,7 @@ public abstract class P4Base extends org.apache.tools.ant.Task | |||||
| this.P4View = P4View; | this.P4View = P4View; | ||||
| } | } | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| util = new Perl5Util(); | util = new Perl5Util(); | ||||
| @@ -79,7 +79,7 @@ public class SoundTask extends Task | |||||
| } | } | ||||
| public void init() | |||||
| public void initialize() | |||||
| { | { | ||||
| } | } | ||||