Bug 51026 [Junit] sources
Is there a reason why the Junit sources aren't bundled w/ the JUnit plugin anymore? Debugging Junit tests w/out source is cumbersome.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
if (MessageDialog.openQuestion(getShell(), WizardMessages.getString("NewTestClassWizPage.not_on_buildpath.title"), WizardMessages.getString("NewTestClassWizPage.not_on_buildpath.message"))) { 
			try {
				addJUnitToBuildPath(getShell(), jp);
				return;
			} catch(JavaModelException e) {
				ErrorDialog.openError(getShell(), WizardMessages.getString("NewTestClassWizPage.cannot_add.title"), WizardMessages.getString("NewTestClassWizPage.cannot_add.message"), e.getStatus()); 
			}	
		}
		JUnitStatus status= new JUnitStatus();
		status.setWarning(WizardMessages.getString("NewTestClassWizPage.error.junitNotOnbuildpath")); 		
		fContainerStatus= status;
	}
	
	public static void addJUnitToBuildPath(Shell shell, IJavaProject project) throws JavaModelException {
		IPath junitHome= new Path(JUnitPlugin.JUNIT_HOME);
		IPath sourceHome= new Path("ORG_ECLIPSE_JDT_SOURCE_SRC"); 
		IPath sourcePath= sourceHome.append("org.junit_3.8.1/junitsrc.zip"); 
		IClasspathEntry entry= JavaCore.newVariableEntry(
			junitHome.append("junit.jar"),  
			sourcePath,  
			null
		);
		addToClasspath(shell, project, entry);
	}	
	
	private static void addToClasspath(Shell shell, final IJavaProject project, IClasspathEntry entry) throws JavaModelException {
		IClasspathEntry[] oldEntries= project.getRawClasspath();
		for (int i= 0; i < oldEntries.length; i++) {
			if (oldEntries[i].equals(entry)) {
				return;