Bug 5853 Jar packager: progress reporting not optimal
- follow smoke test until step "Create a Jar from a Jar Package Description" - do the steps observe: the progress bar show 100% right from the beginning.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
progressMonitor.subTask(destinationPath.toString());
				fJarWriter.write((IFile) resource, destinationPath);
			} catch (IOException ex) {
				String message= ex.getMessage();
				if (message == null)
					message= JarPackagerMessages.getFormattedString("JarFileExportOperation.ioErrorDuringExport", resource.getFullPath()); 
				addWarning(message , ex);
			} catch (CoreException ex) {
				String message= ex.getMessage();
				if (message == null)
					message= JarPackagerMessages.getFormattedString("JarFileExportOperation.coreErrorDuringExport", resource.getFullPath()); 
				addWarning(message, ex);
			}
		}					
	}
	private void exportClassFiles(IProgressMonitor progressMonitor, IPackageFragmentRoot pkgRoot, IResource resource, IJavaProject jProject, IPath destinationPath) {
		if (fJarPackage.areClassFilesExported() && isJavaFile(resource) && pkgRoot != null) {
			try {
				
				Iterator iter= filesOnClasspath((IFile)resource, destinationPath, jProject, progressMonitor);
				IPath baseDestinationPath= destinationPath.removeLastSegments(1);
				while (iter.hasNext()) {
					IFile file= (IFile)iter.next();
					if (!resource.isLocal(IResource.DEPTH_ZERO))						
						file.setLocal(true , IResource.DEPTH_ZERO, progressMonitor);
					IPath classFilePath= baseDestinationPath.append(file.getName());
					progressMonitor.subTask(classFilePath.toString());
					fJarWriter.write(file, classFilePath);
				}
			} catch (IOException ex) {