|
Page Edited :
SLINGxSITE :
Getting and Building Sling
Getting and Building Sling has been edited by Felix Meschberger (Apr 16, 2009). Content:Getting and Building SlingA short recount on the first step for getting a running Sling instance after checking out the source from the SVN repository Note that you don't have to build Sling yourself, if you don't need the bleeding-edge stuff you can get prebuilt binaries from the Downloads page. PrerequisitesBefore you begin, you should have installed the following tools on your system:
EclipsePlease refer to the Wiki for how to setup Eclipse 3.4 (Ganymede) Environment SetupThe full build process requires quite some resources, so you may run into limits. The following hints should show you what to setup before building Sling Java Heap Space
MAVEN_OPTS="-Xmx256M"
[INFO] Error while executing forked tests.; nested exception is org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException: Error setting up environmental variables error=12, Not enough space
Configuring MavenSee also MavenTipsAndTricks. Many of the Sling modules have been released into the Apache Incubator Maven 2 <?xml version="1.0"?> <settings> <profiles> <profile> <id>apache-incubation</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>apache.incubating</id> <name>Apache Incubating Repository</name> <url>http://people.apache.org/repo/m2-incubating-repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>apache.incubating.plugins</id> <name>Apache Incubating Plugin Repository</name> <url>http://people.apache.org/repo/m2-incubating-repository</url> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings> Getting a Running Instance
Congratulations ! You should now have a running Sling instance, which you may start playing around with. |
Unsubscribe or edit your notifications preferences
