Hi Bertrand > > ...Have you in mind to give users something more stable > than the real > > snapshot if the build the standalone app or the web app? > > At the moment I use the launchpad app as the base for my tests. > > But I would like to do the tests with the latest sling source. > > So if my assumption about your doubt is right, maybe we should > > include another profile (something like "snapshot" or "dev") in > > the pom which would include latest source.... > > Contrary to the other bundles which IMHO should reference stable stuff > as long as they don't need bleeding edge, the launchpad/testing > application is meant to point to snapshots all the time, to test the > latest stuff. > > So you could use that webapp for your tests, starting it with > mvn jetty:run.
I'm not very happy with that solution, because I like to have my test scenario as close to the production scenario as possible. Maybe the normal way would be to deploy Sling into a Servlet container, in this case the launchpad/testing is a good solution, but we rather would use the standalone app. IMHO create a second profile in launchpad/app could satisfy this wish without side effect, or am I wrong? > I haven't checked if it's pointing to snapshots though, if it's not we > should changed it. The pom.xml from launchpad/testing is also not pointing to the newest source by now. Following patch would correct that: Index: launchpad/testing/pom.xml =================================================================== --- launchpad/testing/pom.xml (revision 775307) +++ launchpad/testing/pom.xml (working copy) @@ -450,7 +450,7 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.launchpad.base</artifactId> - <version>2.0.4-incubator</version> + <version>2.0.5-incubator-SNAPSHOT</version> <classifier>webapp</classifier> <type>war</type> <scope>runtime</scope> @@ -460,7 +460,7 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.launchpad.bundles</artifactId> - <version>5-incubator</version> + <version>6-incubator-SNAPSHOT</version> <scope>provided</scope> <optional>true</optional> </dependency> best regards mike