| Version version = null;
| if (versionString != null)
| {
| // Handle version strings with quotes
| if (versionString.startsWith("\"") &&
versionString.endsWith("\""))
| versionString = versionString.substring(1, versionString.length() - 1);
|
| version = Version.parseVersion(versionString);
| }
|
| OSGiPackageCapability capability = new OSGiPackageCapability(name, version,
metadata, exportPackage);
| capability.setSplitPackagePolicy(SplitPackagePolicy.First);
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251639#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...