Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Get the sling source as described here http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource here
  2. Build sling as described here
  3. Make sure Tomcat isn't running
  4. Copy the file <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to the <tomcat>/webapps/ directory.
  5. Rename org.apache.sling.launchpad-6-SNAPSHOT.war in <tomcat>/webapps/ to sling.war
  6. Start Tomcat
  7. You should now be able to access Sling at http://localhost:8080/sling http://localhost:8080/sling

Deploying Sling to a Glassfish GlassFish 3.x can be done by following these steps:

  1. Get the sling source as described here here
  2. Build sling as described here
  3. Copy <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to a temporary directory and rename the file to sling.war
  4. Deploy Sling to Glassfish GlassFish with <glassfishv3>/bin/asadmin deploy <path to temporary directory>/sling.war
  5. You should now be able to access Sling at http://localhost:8080/sling