I am able to run sling lunchpad app by following example below http://incubator.apache.org/sling/site/getting-and-building-sling.html set JAVA_HOME=C:\jdk set PATH=%JAVA_HOME%\bin set M2_HOME=C:\maven set PATH=%M2_HOME%\bin set MAVEN_OPTS=-Xmx256m
cd /sling mvn clean install I have notice that sometimes the jcrapp jar does not build, unless you cd /sling/launchpad/jcrapp mvn clean install then when the build is done Java -jar target/org.apache.sling.launchpad.jcrapp-2.0.0-incubator-SNAPSHOT.jar -c sling -f - this should work Cheers Ransford Segu-Baffoe [email protected] http://www.noqmx.com/ https://serenade.dev.java.net/ --- On Mon, 1/5/09, yanshaozhiGmail <[email protected]> wrote: From: yanshaozhiGmail <[email protected]> Subject: How can I use a jar to run sling To: "[email protected]" <[email protected]> Date: Monday, January 5, 2009, 8:34 PM HI: As I remembered , in the launchpad app project. I can run a sling demo only with a jar (with java -jar command ), to my surprise the latest versioin can't work well. Now I want to do it too , which jar can I use? Has the architecture been changed in the launchpad? 2009-01-06 yanjie
