Browse Source

It is not the task that should be worried about generating build events but the container.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270206 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
a5ddd208a9
2 changed files with 0 additions and 48 deletions
  1. +0
    -24
      proposal/myrmidon/src/main/org/apache/tools/ant/Task.java
  2. +0
    -24
      proposal/myrmidon/src/todo/org/apache/tools/ant/Task.java

+ 0
- 24
proposal/myrmidon/src/main/org/apache/tools/ant/Task.java View File

@@ -13,30 +13,6 @@ public abstract class Task
extends ProjectComponent
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


+ 0
- 24
proposal/myrmidon/src/todo/org/apache/tools/ant/Task.java View File

@@ -13,30 +13,6 @@ public abstract class Task
extends ProjectComponent
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


Loading…
Cancel
Save