Apache Sling Launchpad Webapp This webapp contains the necessary bundles to run launchpad. See also the "Discover Sling in 15 minutes" page at http://sling.apache.org/site/discover-sling-in-15-minutes.html Getting Started =============== This component uses a Maven 2 (http://maven.apache.org/) build environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/) 2.0.7 or later. We recommend to use the latest Maven version. If you have Maven 2 installed, you can compile and package the jar using the following command: mvn package See the Maven 2 documentation for other build features. The latest source code for this component is available in the Subversion (http://subversion.tigris.org/) source repository of the Apache Software Foundation. If you have Subversion installed, you can checkout the latest source using the following command: svn checkout http://svn.apache.org/repos/asf/sling/trunk/launchpad/webapp See the Subversion documentation for other source control features. How to run this --------------- NOTE: "mvn clean" does not delete the "sling" work directory - make sure to delete it manually if you want to start from a clean state. 1) Build all Sling bundles cd mvn clean install 2) Build and run this cd launchpad/webapp mvn clean package jetty:run Once the webapp starts, http://localhost:8888/system/console should display the Felix OSGi console. 3) Test node creation and display To create a node with curl: curl -D - -Ftitle=something http://admin:admin@localhost:8888/testing/this Then, http://admin:admin@localhost:8888/testing/this.html should display a default HTML representation, including the value of the "title" property. Use a txt or json extension instead of html to see other output formats. For more info see the Sling website at http://sling.apache.org, and the "Sling in 15 minutes" tutorial at http://sling.apache.org/site/discover-sling-in-15-minutes.html