Package uk.co.brunella.osgi.bdt.repository

Examples of uk.co.brunella.osgi.bdt.repository.Deployer.list()


    File repositoryDirectory = new File(repositoryDir);
    if (!checkRepository(repositoryDirectory)) {
      return false;
    }
    Deployer deployer = new Deployer(repositoryDirectory);
    List<BundleDescriptor> bundles = deployer.list();
   
    for (BundleDescriptor descriptor : bundles) {
      System.out.println(descriptor.getBundleSymbolicName() + " " + descriptor.getBundleVersion() +
          " [" + descriptor.getBundleJarFileName() + "]" );
    }
View Full Code Here


    if (verbose) {
      System.out.println("Listing repository in " + repository);
    }
    Deployer deployer = new Deployer(repository);
    try {
      List<BundleDescriptor> bundles = deployer.list();
      for (BundleDescriptor descriptor : bundles) {
        System.out.println(descriptor.getBundleSymbolicName() + " " + descriptor.getBundleVersion() +
            " [" + descriptor.getBundleJarFileName() + "]");
        if (verbose) {
          System.out.println("Export-Package:");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.