Hi, On Fri, Feb 11, 2011 at 5:38 AM, James Stansell <[email protected]> wrote: > ...The other part of what i was thinking is something my team does, which > may be crx specific. We use mvn to include a third-party bundle into a > crx package, which can then be uploaded and installed...
Yes, that's CRX-specific, Sling does not support content packages which are a Day-specific way of packaging repository content in zip files (so let's discuss those on Day lists instead of here if needed). Out of the box, Sling supports installing bundles a) Using the web console's HTTP interface b) By copying bundles in the repository in folders that are watched by the JCR installer, if that's active. At the HTTP level, a) is a POST and b) is MKCOL and PUT, so not too different, and both are supported by the maven-sling-plugin as Justin said. One thing to watch for if using this for testing is that you need to find out when the bundles and services are actually activated, before running the tests. This can be done over http by repeating a request until it returns expected values or times out. -Bertrand
