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 Tue, 24 Dec 2002 01:47:35 GMT
costin      2002/12/23 17:47:35

  Modified:    proposal/embed/src/java/org/apache/tools/ant/helper
                        ProjectHelperImpl2.java
  Log:
  Use <classloader> instead of <systemLoader>
  
  Revision  Changes    Path
  1.7       +4 -0      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ProjectHelperImpl2.java	11 Dec 2002 19:43:44 -0000	1.6
  +++ ProjectHelperImpl2.java	24 Dec 2002 01:47:35 -0000	1.7
  @@ -112,7 +112,11 @@
       private void hookSpecialTasks(Project project) {
           try {
               Class c=Class.forName("org.apache.tools.ant.taskdefs.SystemPath");
  +            // deprecated
               project.addTaskDefinition( "systemPath" , c );
  +            // the new name ( in ant16 )
  +            project.addTaskDefinition( "classloader" , c );
  +
               c=Class.forName("org.apache.tools.ant.taskdefs.Description");
               project.addTaskDefinition( "description" , c );
               c=Class.forName("org.apache.tools.ant.taskdefs.Import");
  
  
  

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