bodewig     2004/06/23 06:32:57

  Modified:    .        CONTRIBUTORS
               src/main/org/apache/tools/ant/types Path.java
  Log:
  Add libgcj support to Path.addJavaRuntime
  
  PR: 29020
  Submitted by: Anthony Green <green at redhat dot com>
  
  Revision  Changes    Path
  1.25      +1 -0      ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===================================================================
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- CONTRIBUTORS      22 Jun 2004 14:39:36 -0000      1.24
  +++ CONTRIBUTORS      23 Jun 2004 13:32:57 -0000      1.25
  @@ -5,6 +5,7 @@
   Andrew Everitt
   Anil K. Vijendran
   Anli Shundi
  +Anthony Green
   Antoine Levy-Lambert
   Anton Mazkovoi
   Arnaud Vandyck
  
  
  
  1.63      +3 -1      ant/src/main/org/apache/tools/ant/types/Path.java
  
  Index: Path.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Path.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- Path.java 9 Mar 2004 16:48:41 -0000       1.62
  +++ Path.java 23 Jun 2004 13:32:57 -0000      1.63
  @@ -68,7 +68,7 @@
       /**
        * The system bootclassspath as a Path object.
        *
  -     * @since Ant 1.7
  +     * @since Ant 1.6.2
        */
       public static Path systemBootClasspath =
           new Path(null, System.getProperty("sun.boot.class.path"));
  @@ -585,6 +585,8 @@
                   kaffeJarFiles.setIncludes("*.jar");
                   addFileset(kaffeJarFiles);
               }
  +        } else if ("GNU libgcj".equals(System.getProperty("java.vm.name"))) {
  +            addExisting(systemBootClasspath);
           }
   
           if 
(System.getProperty("java.vendor").toLowerCase(Locale.US).indexOf("microsoft") 
>= 0) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to