First Steps commented on by Árni Hermann Reynisson (Jan 05, 2008).

Comment:

Step 3 failed for me. I went into launcher/app and started the server from the target directory there using

MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m" java -jar -Dsling.home=sling org.apache.sling.launcher.app-2.0.0-incubator-SNAPSHOT.jar
The memory parameters are needed to avoid OutOfMemoryError exception when using the workaround mentioned below (step 5).


Step 5 also failed for me. The directory layout has changed since these steps were written. Simple workaround was, from the checkout directory, running

mvn org.apache.sling:maven-sling-plugin:2.0.0-incubator-SNAPSHOT:install
which tries to install every module and ignores non-bundles. After I executed this, I noticed a "EVENT Stopped HttpContext[/sling/res]" message on the console and I needed to restart the server to see the management online (http://localhost:8080/sling/).

Other then that, it's pretty exciting to see such a modular platform for web applications and I'll be watching this space for updates.

Reply via email to