Bug 94650 DBCS3.1: JUnit example build error
Driver : Eclipse 3.1 I20050509-2010 Linux GTK, and example JVM : IBM 1.4.2 SR1a Platform : RHEL 4 WS ja_JP.UTF-8 locale Steps 1. File > New > Example.., select Example Project -JUnit, click Next 2. use default project name "JUnit", click Finish Result following error is shown at Problems view The project was not built since the source file /JUnit/junit/framework/TestSuite.java could not be read I tried to open it and got This file is unreadable using the "UTF-8" character encoding
org.eclipse.jdt.ui.examples.projects/examples/org/eclipse/jdt/internal/ui/exampleprojects/ExampleProjectCreationOperation.java
}
	}		
	
	public IResource getElementToOpen() {
		return fElementToOpen;
	}
	
	private void createProject(IWorkspaceRoot root, ExampleProjectCreationWizardPage page, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
		IConfigurationElement desc= page.getConfigurationElement();
		
		IConfigurationElement[] imports= desc.getChildren("import"); 
		IConfigurationElement[] natures= desc.getChildren("nature"); 
		IConfigurationElement[] references= desc.getChildren("references"); 
		int nImports= (imports == null) ? 0 : imports.length;
		int nNatures= (natures == null) ? 0 : natures.length;
		int nReferences= (references == null) ? 0 : references.length;
		
		monitor.beginTask(ExampleProjectMessages.ExampleProjectCreationOperation_op_desc_proj, nImports + 1); 
		String name= page.getName();
		
		String[] natureIds= new String[nNatures];
		for (int i= 0; i < nNatures; i++) {
			natureIds[i]= natures[i].getAttribute("id"); 
		}
		IProject[] referencedProjects= new IProject[nReferences];
		for (int i= 0; i < nReferences; i++) {
			referencedProjects[i]= root.getProject(references[i].getAttribute("id")); 
		}		
		
		IProject proj= configNewProject(root, name, natureIds, referencedProjects, monitor);