Browse Source

Maybe configure means nothing now that container is handling the task model/proxy

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

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

@@ -22,7 +22,6 @@ public abstract class Task
try try
{ {
project.fireTaskStarted( this ); project.fireTaskStarted( this );
maybeConfigure();
execute(); execute();
project.fireTaskFinished( this, null ); project.fireTaskFinished( this, null );
} }
@@ -83,16 +82,6 @@ public abstract class Task
project.log( this, msg, msgLevel ); project.log( this, msg, msgLevel );
} }


/**
* Configure this task - if it hasn't been done already.
*
* @exception BuildException Description of Exception
*/
public void maybeConfigure()
throws TaskException
{
}

protected void handleErrorOutput( String line ) protected void handleErrorOutput( String line )
{ {
log( line, Project.MSG_ERR ); log( line, Project.MSG_ERR );


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

@@ -22,7 +22,6 @@ public abstract class Task
try try
{ {
project.fireTaskStarted( this ); project.fireTaskStarted( this );
maybeConfigure();
execute(); execute();
project.fireTaskFinished( this, null ); project.fireTaskFinished( this, null );
} }
@@ -83,16 +82,6 @@ public abstract class Task
project.log( this, msg, msgLevel ); project.log( this, msg, msgLevel );
} }


/**
* Configure this task - if it hasn't been done already.
*
* @exception BuildException Description of Exception
*/
public void maybeConfigure()
throws TaskException
{
}

protected void handleErrorOutput( String line ) protected void handleErrorOutput( String line )
{ {
log( line, Project.MSG_ERR ); log( line, Project.MSG_ERR );


Loading…
Cancel
Save