Hi,

Torgeir Veimo schrieb:
> 
> On 2 Jan 2009, at 16:04, Torgeir Veimo wrote:
> 
>>
>> On 30 Dec 2008, at 06:40, Felix Meschberger wrote:
>>
>>> (1) To upload with the Maven Sling Plugin: you may build and deploy in a
>>> single Maven call:
>>>
>>>  $ mvn clean package \
>>>      -Dsling.url=http://localhost:8888/system/console \
>>>      org.apache.sling:maven-sling-plugin:2.0.2-incubator:install
>>
>>
>> Where is the sling maven plugin located? maven complains it cannot
>> find it in the default repositories.
> 
> It looks like it's running ok if invoked in the launchpad directory.
> 
>> Will this command update all the deployed sling bundles?
> 
> 
> It does not seem to work for the launchpad though. It get the following;
> 
> [INFO]
> /Users/torgeir/java/src/sling/sling/launchpad/webapp/target/org.apache.sling.launchpad.webapp-4-incubator-SNAPSHOT.jar
> is not an OSGi Bundle, not uploading
> 
> Is there a way to update the complete launchpad instance in one go?
> 

Hmm, unfortunately, there is no easy way, yet. This is one of the tasks
we have to tackle for releases to come.

One option would be to just run the "mvn clean instal sling:install"
command from the sling root checkout, which would run the plugin for
each plugin project being built and thus ultimately will update all bundles.

Another option is to stop sling, remove the ${sling.home}/felix folder
and launch a new sling build. This causes the bundles to be installed
again. The drawback of this option is, that this will also remove any
non-Sling bundles, which might not be a good idea.

Regards
Felix

Reply via email to