Hi Philipp, The new repository.xml is similar to the proprietary OBR format in semantics, but is not backward compatible on the XML level. However OBR 2.0.2 can read both the old proprietary OBR format as well as the new spec-based repository.xml format. They both feed into a common internal model. The OBR implementation decides what parser to use based on the namespace of the XML document fed in. The API to parse the XML documents hasn't changed and can be used to feed both old and new documents in.
So yes the implementation can still read the old formats, so you should be able to use them as well as the new spec-based formats... Best regards, David On 27 June 2014 10:22, Bulu <[email protected]> wrote: > This is good news! > > Is the new repository.xml backwards compatible with the existing specs (as > produced eg. by maven-bundle-plugin 2.3.7)? > I.e. can I upgrade my OBR Bundle on just some of the clients - or will this > break? > > Regards Philipp > > > On 27.06.2014 10:34, [email protected] wrote: >> >> The Felix team is pleased to announce the release of the Felix Bundle >> Repository (OBR) version 2.0.2 >> >> The release is available from http://felix.apache.org/site/downloads.cgi >> >> And Maven: >> <dependency> >> <groupId>org.apache.felix</groupId> >> <artifactId>org.apache.felix.bundlerepository</artifactId> >> <version>2.0.2</version> >> </dependency> >> >> Major new feature in this release is support for the OSGi Repository >> Specification 1.0. For more details see >> chapter 132 in the OSGi R5 Enterprise specification: >> http://www.osgi.org/Download/Release5 >> >> For the OBR documentation see >> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html >> >> Changes: >> New Feature: >> * [FELIX-4368] - Support OSGi Repository 1.0 Specification >> ** [FELIX-4369] - Support repository.xml as defined by OSGi Repository >> spec >> ** [FELIX-4370] - Support Repository service as defined by OSGi spec >> ** [FELIX-4371] - Pass the Repository 1.0 OSGi CT >> -> The results of the OSGi Repository CT can be found here: >> >> http://people.apache.org/~davidb/felix_obr_2.0.0/TEST-org.osgi.test.cases.repository-5.0.0.xml >> >> Bug fixed: >> * [FELIX-3257] - OBR resolver unable to pick up the highest bundle >> version when selecting the best candidate >> * [FELIX-2465] - system.bundle should be automatically wired to the >> relevant bundle >> * [FELIX-3842] - NPE in LocalRepositoryImpl >> >> Enjoy! >> >> On behalf of the Felix team, >> >> David Bosschaert >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

