Hi Bertrand, In current setup the bundles I am working are related to Oak and I need to start the system from a clean state to validate some changes. So the updated bundles has to be picked up at the first launch itself.
The method you suggest works fine for already running system or restarts but for fresh install I need a way to update the existing bundle present in the standalone jar/resources/install folder. Chetan Mehrotra On Mon, Aug 20, 2012 at 1:40 PM, Bertrand Delacretaz <[email protected] > wrote: > Hi Chetan, > > On Mon, Aug 20, 2012 at 7:31 AM, Chetan Mehrotra > <[email protected]> wrote: > ... > > 4. Update certain bundles in resources/install folder based on #2. For > this > > install them in Maven first > > 5. Clean existing sling home directory > > 6. Repackage Sling standalone so that updated bundle from #4 gets picked > up... > > Can't you just copy your new/modified bundles to an install folder on > the filesystem, that's picked up by the file installer? > > You can specify the name of that folder with > -Dsling.fileinstall.dir=/path-to-that-folder on the JVM command line. > > You could also install them directly via the OSGi console or the > maven-sling-plugin. > > -Bertrand >
