Package org.osgi.impl.bundle.obr.resource

Examples of org.osgi.impl.bundle.obr.resource.VersionRange


import org.testng.annotations.Test;

public class VersionRangeTest {
  @Test(groups = { UNIT })
    public void testACE95() throws Exception {
    new VersionRange("[4.1,4.2)");
    new VersionRange("[4.2,4.2]");
  }
View Full Code Here


            }
            else {
                // this is some other resource, we might want to include it.
                if (all) {
                    ResourceMetaData metadata = ResourceMetaData.getArtifactMetaData(path.getName());
                    ResourceImpl impl = new ResourceImpl(repository, metadata.getSymbolicName(), new VersionRange(metadata.getVersion()));
                    impl.setURL(path.toURI().toURL());
                    resources.add(impl);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.osgi.impl.bundle.obr.resource.VersionRange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.