Package org.eclipse.pde.internal.core.product

Examples of org.eclipse.pde.internal.core.product.WorkspaceProductModel.load()


    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);
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.