Bug #5557 » fix_classpath_char.diff
src/org/kepler/build/project/Classpath.java (working copy) | ||
---|---|---|
27 | 27 |
import org.apache.tools.ant.Project; |
28 | 28 |
import org.apache.tools.ant.types.Path; |
29 | 29 | |
30 |
import java.io.File; |
|
31 | ||
30 | 32 |
/** |
31 | 33 |
* class that represents a classpath |
32 | 34 |
* |
... | ... | |
64 | 66 |
{ |
65 | 67 |
System.out.println(type + " CLASSPATH"); |
66 | 68 |
System.out.println("=========================="); |
67 |
String[] parts = toString().split(":");
|
|
69 |
String[] parts = toString().split(File.pathSeparator);
|
|
68 | 70 |
for (String part : parts) |
69 | 71 |
{ |
70 | 72 |
System.out.println(part); |