Bug 10403 Project creation should confirm the bin directory can be scrubbed
When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
entries[i]= currElement.getClasspathEntry();
		}
		return entries;
	}	
	
	
	
	
	private List getDefaultClassPath(IJavaProject jproj) {
		List list= new ArrayList();
		IResource srcFolder;
		if (JavaBasePreferencePage.useSrcAndBinFolders()) {
			String sourceFolderName= JavaBasePreferencePage.getSourceFolderName();
			srcFolder= jproj.getProject().getFolder(sourceFolderName);
		} else {
			srcFolder= jproj.getProject();
		}
		list.add(new CPListElement(IClasspathEntry.CPE_SOURCE, srcFolder.getFullPath(), srcFolder));
		IPath libPath= new Path(JavaRuntime.JRELIB_VARIABLE);
		IPath attachPath= new Path(JavaRuntime.JRESRC_VARIABLE);
		IPath attachRoot= new Path(JavaRuntime.JRESRCROOT_VARIABLE);
		CPListElement elem= new CPListElement(IClasspathEntry.CPE_VARIABLE, libPath, null, attachPath, attachRoot, false);
		list.add(elem);
		return list;
	}
	
	private IPath getDefaultBuildPath(IJavaProject jproj) {
		if (JavaBasePreferencePage.useSrcAndBinFolders()) {
			String outputLocationName= JavaBasePreferencePage.getOutputLocationName();
			return jproj.getProject().getFullPath().append(outputLocationName);