This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.testing.paxexam-0.0.4 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-paxexam.git
commit 7cb181929ee86eecff6cc946c4becb7fe62d5c46 Author: Oliver Lietz <[email protected]> AuthorDate: Thu Jan 26 20:20:38 2017 +0000 use PathUtils for workingDirectory git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/org.apache.sling.testing.paxexam@1780473 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/testing/paxexam/TestSupport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java b/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java index 3080c07..6f056cb 100644 --- a/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java +++ b/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java @@ -27,6 +27,7 @@ import javax.inject.Inject; import org.ops4j.pax.exam.CoreOptions; import org.ops4j.pax.exam.Option; +import org.ops4j.pax.exam.util.PathUtils; import org.osgi.service.cm.ConfigurationAdmin; import static org.ops4j.pax.exam.CoreOptions.bundle; @@ -39,7 +40,7 @@ import static org.ops4j.pax.exam.CoreOptions.when; public abstract class TestSupport { - private final String workingDirectory = String.format("target/paxexam/%s", getClass().getSimpleName()); + private final String workingDirectory = String.format("%s/target/paxexam/%s", PathUtils.getBaseDir(), getClass().getSimpleName()); @Inject protected ConfigurationAdmin configurationAdmin; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
