You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/01/28 10:42:51 UTC

svn commit: r615817 - /incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml

Author: bdelacretaz
Date: Mon Jan 28 01:42:50 2008
New Revision: 615817

URL: http://svn.apache.org/viewvc?rev=615817&view=rev
Log:
SLING-205 - use target/sling for sling.home when starting with jetty:run - settable using -Djetty.sling.home

Modified:
    incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml

Modified: incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml?rev=615817&r1=615816&r2=615817&view=diff
==============================================================================
--- incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml (original)
+++ incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml Mon Jan 28 01:42:50 2008
@@ -56,6 +56,11 @@
     <jetty.scan.interval.seconds>0</jetty.scan.interval.seconds>
     
     <!-- 
+      Sling home directory when starting with jetty:run
+     -->
+    <jetty.sling.home>target/sling</jetty.sling.home>
+    
+    <!-- 
       Defines which tests are for the "integration-testing" phase
      -->
     <integration.test.code.path>**/launchpad/webapp/integrationtest</integration.test.code.path>
@@ -77,6 +82,13 @@
         <configuration>
           <contextPath>/</contextPath>
           <scanIntervalSeconds>${jetty.scan.interval.seconds}</scanIntervalSeconds>
+          
+          <systemProperties>
+            <systemProperty>
+              <name>sling.home</name>
+              <value>${jetty.sling.home}</value>
+            </systemProperty>
+          </systemProperties>
 
           <connectors>
             <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">