ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/helper ProjectHelperImpl2.java
Date Sat, 27 Jul 2002 02:20:16 GMT
costin      2002/07/26 19:20:16

  Modified:    proposal/embed/src/java/org/apache/tools/ant
                        PropertyHelper.java
               proposal/embed/src/java/org/apache/tools/ant/helper
                        ProjectHelperImpl2.java
  Log:
  Add the new taskdef ( it'll replace the original one ).
  ( we need the new one so that it works with ant1.5 )
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/PropertyHelper.java
  
  Index: PropertyHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/PropertyHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PropertyHelper.java	26 Jul 2002 16:46:14 -0000	1.1
  +++ PropertyHelper.java	27 Jul 2002 02:20:15 -0000	1.2
  @@ -145,7 +145,7 @@
                           + "} has not been set", Project.MSG_VERBOSE);
                       fragment="${" + propertyName + "}"; 
                   } else {
  -                    fragment = (String) repl;
  +                    fragment = repl.toString();
                   }
               }
               sb.append(fragment);
  
  
  
  1.2       +2 -2      jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java
  
  Index: ProjectHelperImpl2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ProjectHelperImpl2.java	26 Jul 2002 16:46:15 -0000	1.1
  +++ ProjectHelperImpl2.java	27 Jul 2002 02:20:16 -0000	1.2
  @@ -105,8 +105,8 @@
               project.addTaskDefinition( "systemPath" , c );
               c=Class.forName("org.apache.tools.ant.taskdefs.Import");
               project.addTaskDefinition( "import" , c );
  -            c=Class.forName("org.apache.tools.ant.taskdefs.optional.JXPath");
  -            project.addTaskDefinition( "jxpath" , c );
  +            c=Class.forName("org.apache.tools.ant.taskdefs.Taskdef2");
  +            project.addTaskDefinition( "taskdef" , c );
           } catch (Exception ex ) {
               ex.printStackTrace();
           }
  
  
  

--
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