donaldp 01/12/15 21:33:57
Modified: proposal/myrmidon/src/main/org/apache/tools/ant Task.java
Log:
It is not the task that should be worried about generating build events but
the container.
Revision Changes Path
1.12 +0 -24
jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Task.java
Index: Task.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Task.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Task.java 2001/12/16 05:31:05 1.11
+++ Task.java 2001/12/16 05:33:57 1.12
@@ -14,30 +14,6 @@
implements org.apache.myrmidon.api.Task
{
/**
- * Perform this task
- */
- public final void perform()
- throws TaskException
- {
- try
- {
- project.fireTaskStarted( this );
- execute();
- project.fireTaskFinished( this, null );
- }
- catch( TaskException te )
- {
- project.fireTaskFinished( this, te );
- throw te;
- }
- catch( RuntimeException re )
- {
- project.fireTaskFinished( this, re );
- throw re;
- }
- }
-
- /**
* 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
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>