diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-02-04 10:10:13 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-02-04 10:10:13 +0000 |
commit | 7da394c7c4497b72e0072c242c0d0b61e4317277 (patch) | |
tree | 5207b69e02607cec0a412848073e7a6020e59cf6 /test/java/org/apache/fop/AbstractFOPTestCase.java | |
parent | ce5cf615b2e9ccf0ef3762a57e90da7821bf830e (diff) | |
download | xmlgraphics-fop-7da394c7c4497b72e0072c242c0d0b61e4317277.tar.gz xmlgraphics-fop-7da394c7c4497b72e0072c242c0d0b61e4317277.zip |
Trying to work around a problem with Java 1.4 when spaces are in Ant's basedir property as happened on my local Hudson instance because I had spaces in the Hudson job name.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/AbstractFOPTestCase.java')
-rw-r--r-- | test/java/org/apache/fop/AbstractFOPTestCase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/AbstractFOPTestCase.java b/test/java/org/apache/fop/AbstractFOPTestCase.java index 7d6fee984..ce39d0404 100644 --- a/test/java/org/apache/fop/AbstractFOPTestCase.java +++ b/test/java/org/apache/fop/AbstractFOPTestCase.java @@ -42,6 +42,7 @@ public abstract class AbstractFOPTestCase extends TestCase { protected File getBaseDir() { String basedir = System.getProperty("basedir"); if (basedir != null) { + basedir.replaceAll("%20", " "); //Under Java 1.4 the path may contain spaces as %20 return new File(basedir); } else { return new File("."); |