Author: justin
Date: Thu Feb 18 18:35:33 2010
New Revision: 911513

URL: http://svn.apache.org/viewvc?rev=911513&view=rev
Log:
fixing how sling.home is passed to jetty

Modified:
    sling/trunk/samples/inplace-integration-test/pom.xml

Modified: sling/trunk/samples/inplace-integration-test/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/samples/inplace-integration-test/pom.xml?rev=911513&r1=911512&r2=911513&view=diff
==============================================================================
--- sling/trunk/samples/inplace-integration-test/pom.xml (original)
+++ sling/trunk/samples/inplace-integration-test/pom.xml Thu Feb 18 18:35:33 
2010
@@ -126,13 +126,6 @@
                         ${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">
                             <port>${http.port}</port>
@@ -141,6 +134,13 @@
                     </connectors>
 
                     <webApp>${test.webapp.war}</webApp>
+                    
+                    <webAppConfig>
+                        <initParams>
+                            <sling.home>${jetty.sling.home}</sling.home>
+                        </initParams>
+                    </webAppConfig>
+                    
                 </configuration>
             </plugin>
             <plugin>


Reply via email to