ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/ant1compat/src/java/org/apache/tools/ant/taskdefs AbstractAnt1AntTask.java
Date Thu, 11 Jul 2002 03:46:58 GMT
donaldp     2002/07/10 20:46:58

  Modified:    ant1compat/src/java/org/apache/tools/ant/taskdefs
                        AbstractAnt1AntTask.java
  Log:
  Context is now private so access it through accessor
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-ant-myrmidon/ant1compat/src/java/org/apache/tools/ant/taskdefs/AbstractAnt1AntTask.java
  
  Index: AbstractAnt1AntTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/ant1compat/src/java/org/apache/tools/ant/taskdefs/AbstractAnt1AntTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractAnt1AntTask.java	23 Apr 2002 02:07:14 -0000	1.3
  +++ AbstractAnt1AntTask.java	11 Jul 2002 03:46:58 -0000	1.4
  @@ -115,7 +115,7 @@
               // TODO: Handle references.
               addProperties();
               prepare( m_exe );
  -            m_exe.execute( m_context );
  +            m_exe.execute( getTaskContext() );
           }
           catch( final TaskException e )
           {
  @@ -138,8 +138,8 @@
           try
           {
               ant1project =
  -                m_context.getProperty( Ant1CompatProject.ANT1_PROJECT_PROP );
  -            m_context.setProperty( Ant1CompatProject.ANT1_PROJECT_PROP, null );
  +                getTaskContext().getProperty( Ant1CompatProject.ANT1_PROJECT_PROP );
  +            getTaskContext().setProperty( Ant1CompatProject.ANT1_PROJECT_PROP, null );
           }
           catch( TaskException e )
           {
  @@ -157,7 +157,7 @@
       {
           try
           {
  -            m_context.setProperty( Ant1CompatProject.ANT1_PROJECT_PROP,
  +            getTaskContext().setProperty( Ant1CompatProject.ANT1_PROJECT_PROP,
                                      ant1project );
           }
           catch( TaskException e )
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message