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
{