Bug 120598 Refactoring History JAR Export Wizard should allow (de-)selecting refactorings
I20051213-0010 It is currently not possible to deselect single refactorings from the history during the export of a JAR - only refactorings before a certain date can be excluded. I'd suggest adding the possibility of selecting/deselecting refactorings.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java
}
		long lastModified= System.currentTimeMillis();
		URI locationURI= resource.getLocationURI();
		if (locationURI != null) {
			IFileInfo info= EFS.getStore(locationURI).fetchInfo();
			if (info.exists())
				lastModified= info.getLastModified();
		}
		
		
		newEntry.setTime(lastModified);
		InputStream contentStream = resource.getContents(false);
		try {		
			fJarOutputStream.putNextEntry(newEntry);
			int count;
			while ((count= contentStream.read(readBuffer, 0, readBuffer.length)) != -1)
				fJarOutputStream.write(readBuffer, 0, count);
		} finally  {
			if (contentStream != null)
				contentStream.close();
			/*
			 * Commented out because some JREs throw an NPE if a stream
			 * is closed twice. This works because
			 * a) putNextEntry closes the previous entry
			 * b) closing the stream closes the last entry
			 */
			
		}
	}
	/**