private static void write_main_attributes(Attributes attr, PrintWriter pw) throws JarException
private static void write_main_attributes(Attributes attr, OutputStream out) throws IOException
  private static void write_main_attributes(Attributes attr, PrintWriter pw)     throws JarException  {		Iterator it = attr.entrySet().iterator();    while (it.hasNext())      {			Map.Entry entry = (Map.Entry) it.next();			// Don't print the manifest version again	if (!Attributes.Name.MANIFEST_VERSION.equals(entry.getKey()))	  {				write_attribute_entry(entry, pw);			}		}	}