Bug 14572 JavaCapatibilityConfigurationPage.java misspelled
org.eclipse.jdt.ui.wizards.JavaCapatibilityConfigurationPage.java Should probably be spelled: org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.java (capability instead of capatibility)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/JavaCapatibilityConfigurationPage.java
nSteps--;
					}
													
					
					IRunnableWithProgress jrunnable= fBuildPathsBlock.getRunnable();
					jrunnable.run(new SubProgressMonitor(monitor, nSteps));
				} catch (CoreException e) {
					throw new InvocationTargetException(e);
					
				} finally {
					monitor.done();
				}
			}
		};	
	}
	
	/**
	 * Adds a nature to a project
	 */
	private static void addNatureToProject(IProject proj, String natureId, IProgressMonitor monitor) throws CoreException {
		IProjectDescription description = proj.getDescription();
		String[] prevNatures= description.getNatureIds();
		String[] newNatures= new String[prevNatures.length + 1];
		System.arraycopy(prevNatures, 0, newNatures, 0, prevNatures.length);
		newNatures[prevNatures.length]= natureId;
		description.setNatureIds(newNatures);
		proj.setDescription(description, monitor);
	}		
		
}