Bug 11317 Won't export some files to .jar.
Create a new java project called "Foo". In the file system, create a folder named "Foo scripts", and in this folder create a file named "foo.txt". Drag this folder into the eclipse packages view and add it to the "Foo" project. Now try to export the project "Foo" to a .jar file. Only the manifest file shows up, even if the file "foo.txt" is checked!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
}
	protected void saveManifest() throws CoreException, IOException {
		ByteArrayOutputStream manifestOutput= new ByteArrayOutputStream();
		ByteArrayInputStream fileInput= null;
		try {
			Manifest manifest= fJarPackage.getManifestProvider().create(fJarPackage);
			manifest.write(manifestOutput);
			fileInput= new ByteArrayInputStream(manifestOutput.toByteArray());
			if (fJarPackage.getManifestFile().isAccessible()) {
				if (fJarPackage.canOverwriteManifest(fParentShell))
				fJarPackage.getManifestFile().setContents(fileInput, true, true, null);
			}
			else {
				fJarPackage.getManifestFile().create(fileInput, true, null);
			}
		} finally {
			if (manifestOutput != null)
				manifestOutput.close();
			if (fileInput != null)
				fileInput.close();
		}
	}
	/**
	 * Reads the JAR package spec from file.
	 */
	protected JarPackage readJarPackage(IFile description) {
		Assert.isLegal(description.isAccessible());
		Assert.isNotNull(description.getFileExtension());
		Assert.isLegal(description.getFileExtension().equals(JarPackage.DESCRIPTION_EXTENSION));
		JarPackage jarPackage= null;