You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Kapil Viren Ahuja <k....@gmail.com> on 2014/08/29 12:09:07 UTC
Unable to compile sample-tests on Mac
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)
Re: Unable to compile sample-tests on Mac
Posted by Kapil Viren Ahuja <k....@gmail.com>.
Hmm. Let me try without the space. Thanks—
Sent from Mailbox
On Fri, Aug 29, 2014 at 3:52 PM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> Hi,
> On Fri, Aug 29, 2014 at 12:09 PM, Kapil Viren Ahuja <k....@gmail.com> wrote:
>> /Users/kahuj1/SapientNitro/Project
>> Work/research/projects/apache...
> Do you have a space in that path like "Project Work"? That could be
> the issue, in theory that shouldn't be a problem but there's theory
> and practice.
> -Bertrand
Re: Unable to compile sample-tests on Mac
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Fri, Aug 29, 2014 at 12:09 PM, Kapil Viren Ahuja <k....@gmail.com> wrote:
> /Users/kahuj1/SapientNitro/Project
> Work/research/projects/apache...
Do you have a space in that path like "Project Work"? That could be
the issue, in theory that shouldn't be a problem but there's theory
and practice.
-Bertrand