Bug 13269 Incorrect operation order in jarpackager
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
try {
					isInOutputFolder= jProject.getOutputLocation().isPrefixOf(resource.getFullPath());
				} catch (JavaModelException ex) {
					isInOutputFolder= false;
				}
			}
			
			exportClassFiles(progressMonitor, pkgRoot, resource, jProject, destinationPath);
			exportResource(progressMonitor, pkgRoot, isInJavaProject, resource, destinationPath, isInOutputFolder);
			progressMonitor.worked(1);
			ModalContext.checkCanceled(progressMonitor);
		} else if (element instanceof IPackageFragment)
			exportPackageFragment(progressMonitor, (IPackageFragment)element);
		else
			exportContainer(progressMonitor, (IContainer)resource);
	}
	private void exportPackageFragment(IProgressMonitor progressMonitor, IPackageFragment pkgFragment) throws java.lang.InterruptedException {
		Object[] children;
		try {
			children= pkgFragment.getChildren();
			for (int i= 0; i < children.length; i++)
				exportElement(children[i], progressMonitor);
			children= pkgFragment.getNonJavaResources();
			for (int i= 0; i < children.length; i++)
				exportElement(children[i], progressMonitor);
		} catch (CoreException e) {
			
			addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.errorDuringExport", pkgFragment.toString()), e); 
		}
	}