Bug 9127 JAR Packager: Path of exported resource wrong if src folder not under project
Create J project Create folder /x/y Define y as source folder ==> x/y appears as source folder ==> Files in x don't get exported ==> Path for resource files in x/y/ are wrong (i.e. contain /x/y) Note: *.java and *.class files are exported correctly.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
else {
			outputContainer= createFolderHandle(outputPath);
			if (outputContainer == null || !outputContainer.isAccessible()) {
				String msg= JarPackagerMessages.getString("JarFileExportOperation.outputContainerNotAccessible"); 
				throw new CoreException(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, msg, null));
			}
		}
		if (isJavaFile(file)) {
			
			boolean hasErrors= fJarPackage.hasCompileErrors(file);
			boolean hasWarnings= fJarPackage.hasCompileWarnings(file);
			boolean canBeExported= canBeExported(hasErrors, hasWarnings);
			reportPossibleCompileProblems(file, hasErrors, hasWarnings, canBeExported);
			if (!canBeExported)
				return Collections.EMPTY_LIST.iterator();
			IContainer classContainer= outputContainer;
			if (pathInJar.segmentCount() > 1)
				classContainer= outputContainer.getFolder(pathInJar.removeLastSegments(1));
			if (fClassFilesMapContainer == null || !fClassFilesMapContainer.equals(classContainer)) {
				fJavaNameToClassFilesMap= buildJavaToClassMap(classContainer);
				fClassFilesMapContainer= classContainer;
			}
			ArrayList classFiles= (ArrayList)fJavaNameToClassFilesMap.get(file.getName());
			if (classFiles == null || classFiles.isEmpty()) {
				String msg= JarPackagerMessages.getFormattedString("JarFileExportOperation.classFileOnClasspathNotAccessible", file.getFullPath()); 
				throw new CoreException(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, msg, null));
			}
			return classFiles.iterator();
		}
		else {