Browse Source

Eclipse tries to write to systemClasspath - PR 60582

thanks to @ebourg 984a03d1ce
master
Stefan Bodewig 8 years ago
parent
commit
1348ebb91c
2 changed files with 9 additions and 1 deletions
  1. +7
    -0
      WHATSNEW
  2. +2
    -1
      src/main/org/apache/tools/ant/types/Path.java

+ 7
- 0
WHATSNEW View File

@@ -1,6 +1,13 @@
Changes from Ant 1.9.8 TO Ant 1.9.9
===================================

Fixed bugs:
-----------

* Ant 1.9.8 made Path#systemClasspath final which broke the Eclipse
integration.
Bugzilla Report 60582

Changes from Ant 1.9.7 TO Ant 1.9.8
===================================



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

@@ -66,8 +66,9 @@ import org.apache.tools.ant.util.JavaEnvUtils;
public class Path extends DataType implements Cloneable, ResourceCollection {
// CheckStyle:VisibilityModifier OFF - bc

// non-final as some IDE integrations (at least Eclipse) want to override it
/** The system classpath as a Path object */
public static final Path systemClasspath =
public static Path systemClasspath = //NOSONAR
new Path(null, System.getProperty("java.class.path"));




Loading…
Cancel
Save