private static void loadPlatformZipPropertiesFromFile() {
   File installLocation = getInstallLocation();
   if (installLocation != null) {
     // parent will be "eclipse" and the parent's parent will be "eclipse-testing"
     File parent = installLocation.getParentFile();
     if (parent != null) {
       parent = parent.getParentFile();
       if (parent != null) {
         File propertiesFile = new File(parent, "equinoxp2tests.properties");
         if (!propertiesFile.exists()) return;
         archiveAndRepositoryProperties = new Properties();
         try {
           InputStream is = null;
           try {
             is = new BufferedInputStream(new FileInputStream(propertiesFile));
             archiveAndRepositoryProperties.load(is);
           } finally {
             is.close();
           }
         } catch (IOException e) {
           return;
         }
       }
     }
   }
 }
 public BundleInfo[] loadBundlesInfo(File location) throws IOException {
   SimpleConfiguratorManipulator manipulator = new SimpleConfiguratorManipulatorImpl();
   InputStream input = null;
   try {
     input = new BufferedInputStream(new FileInputStream(location));
     return manipulator.loadConfiguration(input, new File(output, "eclipse").toURI());
   } finally {
     try {
       if (input != null) input.close();
     } catch (IOException e) {
       // ignore
     }
   }
 }