Hi,

I start Sling with
sling/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar.
>From time to time I want to get the latest Sling but keep my content in the
repository. So I sync the latest Sling sources from svn and rebuild it with
mvn clean install.
Now upon starting Sling I see this error in the console

org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.sling.launchpad.installer [86]: Unable to resolve 86.2: missing
requirement [86.2] package;
(&(package=org.apache.sling.launchpad.api)(version>=1.0.0))

In the log I see several errors like this

org.apache.sling.auth.form
[org.apache.sling.auth.form.FormAuthenticationHandler] Cannot register
Component (org.osgi.service.component.ComponentException: The component name
'org.apache.sling.auth.form.FormAuthenticationHandler' has already been
registered by Bundle 65 (org.apache.sling.auth.form) as Component of Class
org.apache.sling.auth.form.impl.FormAuthenticationHandler) >
org.osgi.service.component.ComponentException: The component name
'org.apache.sling.auth.form.FormAuthenticationHandler' has already been
registered by Bundle 65 (org.apache.sling.auth.form) as Component of Class
org.apache.sling.auth.form.impl.FormAuthenticationHandler

Under sling/launchpad/builder/sling/startup I see number of old jar's.
It seems like old and new jar's are messed up.

So what is the correct way to update Sling and keep the repository content?

Best regards,
Petar


-- 
View this message in context: 
http://apache-sling.73963.n3.nabble.com/How-to-update-Sling-tp2409515p2409515.html
Sent from the Sling - Users mailing list archive at Nabble.com.

Reply via email to