tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@hyperreal.org
Subject cvs commit: jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Tue, 23 Nov 1999 21:54:52 GMT
jons        99/11/23 13:54:50

  Modified:    ant/src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  added translatePath() static method to allow one to fix the
  XXX in some of the taskdefs with regards to this. i'm not sure
  if this is what you wanted, but it is a start.
  
  Revision  Changes    Path
  1.11      +4 -16     jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Javac.java	1999/11/23 08:27:30	1.10
  +++ Javac.java	1999/11/23 21:54:47	1.11
  @@ -125,11 +125,7 @@
        */
       
       public void setClasspath(String classpath) {
  -
  -        // XXX
  -        // need to translate ':' and '/' chars to native
  -        
  -        compileClasspath = classpath;
  +        compileClasspath = Project.translatePath(classpath);
       }
   
       /**
  @@ -137,12 +133,8 @@
        * against.
        */
       
  -    public void setBootclasspath(String bootclasspath) {
  -
  -        // XXX
  -        // need to translate ':' and '/' chars to native
  -        
  -        this.bootclasspath = bootclasspath;
  +    public void setBootclasspath(String bootclasspath) {        
  +        this.bootclasspath = Project.translatePath(bootclasspath);
       }
   
       /**
  @@ -151,11 +143,7 @@
        */
       
       public void setExtdirs(String extdirs) {
  -
  -        // XXX
  -        // need to translate ':' and '/' chars to native
  -        
  -        this.extdirs = extdirs;
  +        this.extdirs = Project.translatePath(extdirs);
       }
   
       
  
  
  

Mime
View raw message