Hi Torgeir,
Torgeir Veimo schrieb:
Is there a writeup on what's required to integrate sling into another
webapp in a non maven world?
My assumption would be to first get a osgi container integrated, then
sling and the jar files it depends on. But a step by step guide would be
handy..
Right, the first step is to have your webapp start an OSGi framework
instance.
Next you have to deploy the required bundles in this framework. How you
do this depends on how you integrate the OSGi container. If you look at
the Sling launchpad/webapp you see, that the required bundles are just
added to the WEB-INF/resources/bundles folder and picked up from there
by the Sling main class which launches the Felix framework. You may
choose to use this integration, just adapt the SlingServlet to your
needs or rip out what you need.
Next add the bundles you need. Again, the existing Sling
launchpad/webapp may help you here: Just use the same jar files as
contained in that web app and you should be done.
Hope this helps as a first pointer ...
Regards
Felix