diff options
author | sb <sb@openoffice.org> | 2010-02-16 11:33:16 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-16 11:33:16 +0100 |
commit | 8314d9195a261cc7f39cfea47c9de2e6a22d13fd (patch) | |
tree | 7dc3f31810c09d610dae80302b65907355b6e890 /qadevOOo/runner | |
parent | 3ef6cfa566e6d419d58f2659a649ba9c1308cdc5 (diff) |
sb118: handle --without-junit gracefully
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/helper/ClParser.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/ClParser.java b/qadevOOo/runner/helper/ClParser.java index c88b14a6028b..f8d4aca4d82e 100644 --- a/qadevOOo/runner/helper/ClParser.java +++ b/qadevOOo/runner/helper/ClParser.java @@ -29,6 +29,7 @@ ************************************************************************/ package helper; +import java.io.File; import java.util.Properties; import lib.TestParameters; @@ -97,7 +98,8 @@ public class ClParser if (pName.equals("TestDocumentPath")) { - System.setProperty("DOCPTH", pValue); + System.setProperty( + "DOCPTH", new File(pValue).getAbsolutePath()); } else if (pName.equals(PropertyName.SRC_ROOT)) { |