Hi Achim, I guess you mean:
Karaf is using *bnd* under the hood. So you best take a look at the *bnd* tools. Gotta love those whacky spellcheckers ;-) Regards, Chris > Hi, > > Karaf is using and under the hood. > So you best take a look at the end tools. > > Regards, Achim > > sent from mobile device > Am 26.11.2014 16:54 schrieb "Nick Baker" <[email protected]>: > >> Hey All, >> >> Weâve written a deployer to transform WebJars >> (http://www.webjars.org) >> into bundles compatible with our RequireJS setup. Part of this process >> involves transforming the maven version into an OSGI Version. Most >> artifacts adhere to maven version standards, though some are just >> strings >> (SHAs, TRUNK-SNAPSHOT, etc.). Iâve written a simple parser to handle >> this. >> However, Iâm noticing that Karaf or perhaps BND is doing the same >> version >> coercion. Can anyone point me to this class. Iâm concerned Iâm >> re-inventing >> the wheel and stumbling over the same edge cases. >> >> Hereâs our VersionParser: >> >> https://github.com/pentaho/pentaho-osgi-bundles/blob/master/pentaho-webjars-deployer/src/main/java/org/pentaho/osgi/platform/webjars/VersionParser.java >> >> Thanks, >> -Nick Baker >> >
