Hello Sling developers, I am trying to compile a the
"apache/sling/testing/samples/integration-tests"
on my macbook and i continue to get the following build error. I have tried
doing it via root and changing owners and groups. also gave 777 permission
but nothing works. The file also exists in the location it says so.

What am i missing? I need help on this one. thanks. in advance



===============
Error via maven build (mvn clean install)




Running
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest

5 [main] INFO
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest -
Server base URL=http://localhost:52803

12 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor -
Executable jar options: -p 52803 -Dsling.home=sling/default

12 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor -
Executing
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-Xmx512m -jar "/Users/kahuj1/SapientNitro/Project
Work/research/projects/apache/sling/testing/samples/integration-tests/dependency/org.apache.sling.launchpad-7-SNAPSHOT-standalone.jar"
-p 52803 -Dsling.home=sling/default

13 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Setting
up ProcessDestroyer with waitOnShutdown=false

15 [main] INFO org.apache.sling.testing.tools.sling.TimeoutsProvider -
Timeout factor set to 1.0 from system property
sling.testing.timeout.multiplier

15 [main] INFO
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest -
Will wait up to 60 seconds for server to become ready

16 [main] INFO
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest -
Checking that GET requests return expected content (timeout=60 seconds):
[/:script src="system/sling.js",
/.explorer.html:href="/libs/sling/explorer/css/explorer.css",
/sling-test/sling/sling-test.html:Sling client library tests]

Unable to access jarfile "/Users/kahuj1/SapientNitro/Project
Work/research/projects/apache/sling/testing/samples/integration-tests/dependency/org.apache.sling.launchpad-7-SNAPSHOT-standalone.jar"

27 [Thread-2] ERROR org.apache.sling.testing.tools.jarexec.JarExecutor -
Process execution failed:org.apache.commons.exec.ExecuteException: Process
exited with an error: 1 (Exit value: 1)

org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)

at
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)

at
org.apache.commons.exec.DefaultExecutor.access$200(DefaultExecutor.java:46)

at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:188)

Reply via email to