Package org.eclipse.pde.internal.core.iproduct

Examples of org.eclipse.pde.internal.core.iproduct.IProduct


    for (int i = 0; i < products.size(); i++)
    {
      final IFile product = (IFile) products.get(i);
      final WorkspaceProductModel wpm = new WorkspaceProductModel(product, false);
      wpm.load();
      final IProduct prod = wpm.getProduct();

      final File zipFile = new File(ResourcesPlugin.getWorkspace().getRoot().getLocation().toFile(), product.getName().substring(0, product.getName().length() - 8) + ".zip");

      SysOutProgressMonitor.out.println("Exporting Eclipse Product using '" + product.getLocation() + "' as configuration to: " + zipFile);

      final FeatureExportInfo info = new FeatureExportInfo();
      info.useJarFormat = true;
      info.zipFileName = zipFile.getName();
      if (prod.useFeatures())
      {
        info.items = getFeatures(prod);
      }
      else
      {
View Full Code Here

TOP

Related Classes of org.eclipse.pde.internal.core.iproduct.IProduct

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.