Browse Source

Add libgcj support to Path.addJavaRuntime

PR: 29020
Submitted by:	Anthony Green <green at redhat dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276615 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
7bb0f18d6d
2 changed files with 4 additions and 1 deletions
  1. +1
    -0
      CONTRIBUTORS
  2. +3
    -1
      src/main/org/apache/tools/ant/types/Path.java

+ 1
- 0
CONTRIBUTORS View File

@@ -5,6 +5,7 @@ Andreas Ames
Andrew Everitt
Anil K. Vijendran
Anli Shundi
Anthony Green
Antoine Levy-Lambert
Anton Mazkovoi
Arnaud Vandyck


+ 3
- 1
src/main/org/apache/tools/ant/types/Path.java View File

@@ -68,7 +68,7 @@ public class Path extends DataType implements Cloneable {
/**
* 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 @@ public class Path extends DataType implements Cloneable {
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) {


Loading…
Cancel
Save