Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Mac, Java 6, Apache Sling from SVN Trunk
Description
Inside a bundle project I could not start an integration test. Even though I could create a launchpad bundles firing up the embedded Web container (Cargo / Jetty) or even just Jetty fails.
Steps to reproduce it:
1) Create a Servlet
2) Create a Bundle that contains the Servlet
3) Take the POM from launchpad / /testing and move these maven plugins inside the integration test profile: launchpad and war
4) Make sure the launchpad plugin is called after the JAR file is created (pre-integration-test)
Running that with 'mvn -P jcrinstall-tests integration-test' fails because Sling is never launched even though launchpad-bundles is created and the war files seems to be fine.
Running the same without Cargo and plain Jetty fails because now Sling is deployed inside "${basedir}/sling/_" and also the System Console is not coming up even though the sling home page does.
Cheers - Andy