// read a zip archive
package test.special;
import java.io.*;
import java.util.Set;
import com.sun.tools.javac.zip.ZipFileIndex;

public class ZipRead {
  public static void main(String[] args) throws IOException {
      File zip = new File("/Developer/Applications/Utilities/Application Loader.app/Contents/MacOS/itms/java/lib/rt.jar");
      ZipFileIndex zfi = ZipFileIndex.getZipFileIndex(zip,0,false,null,false);
      Set<String> dirs = zfi.getAllDirectories();
      System.out.println(dirs.size() + " dirs in the zip, first 5 are:");
      int i = 0;
      for (String dir : dirs){
        System.out.println(dir);
        ++i;
        if (i == 5) break;
      }
  }
}

@@ -150,107 +150,118 @@
 d %7B%0A
-  public static void main(String%5B%5D args) throws IOException %7B%0A      File zip = new File(%22/Developer
+%0A  // Edit this to point to rt.jar%0A  public static final String RT_PATH = %22/Applicgggations/Xcode.app/Contents
 /App
@@ -274,18 +274,8 @@
 ons/
-Utilities/
 Appl
@@ -329,16 +329,114 @@
 /rt.jar%22
+;%0A%0A  public static void main(String%5B%5D args) throws IOException %7B%0A      File zip = new File(RT_PATH
 );%0A     

make the rt path more easy to edit