Bug 155748 org.eclipse.birt.report.designer.ui compiles error in daily build 20060831
org.eclipse.birt.report.designer.ui compiles error in daily build 20060831. The error msg is below: ui.jar: [delete] Deleting directory E:\5\plugins\org.eclipse.birt.report.designer.ui\temp.folder\ui.jar.bin [mkdir] Created dir: E:\5\plugins\org.eclipse.birt.report.designer.ui\temp.folder\ui.jar.bin [javac] Compiling 727 source files to E:\5\plugins\org.eclipse.birt.report.designer.ui\temp.folder\ui.jar.bin [javac] E:\5\plugins\org.eclipse.birt.report.designer.ui\src\org\eclipse\birt\report\designer\internal\ui\resourcelocator\ResourceLocator.java:56: cannot resolve symbol [javac] symbol : method toURI () [javac] location: class java.net.URL [javac] .relativize( url.toURI( ) ) [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 1 error [forEach] Execution error on task: [ant] message: E:\DailyBuild\prepare\DailyBuild\dailybuild\script\DailyBuild.xml:1264: The following error occurred while executing this line: [forEach] E:\5\plugins\org.eclipse.birt.report.designer.ui\BuildDesignerUI.xml:151: The following error occurred while executing this line: [forEach] E:\5\plugins\org.eclipse.birt.report.designer.ui\BuildDesignerUI.xml:155: The following error occurred while executing this line: [forEach] E:\5\plugins\org.eclipse.birt.report.designer.ui\build.xml:208: The following error occurred while executing this line: [forEach] E:\5\plugins\org.eclipse.birt.report.designer.ui\build.xml:183: Compile failed; see the compiler error output for details. [forEach] Project failed on itself: [forEach] Continue execution.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/resourcelocator/ResourceLocator.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.internal.ui.resourcelocator;
import java.io.File;
import java.net.URISyntaxException;
import java.net.URL;
import org.eclipse.birt.report.designer.ui.ReportPlugin;
/**
 * 
 */
public class ResourceLocator
{
	public static ResourceEntry[] getRootEntries( )
	{
		return new ResourceEntry[]{
				new FragmentResourceEntry( ), new PathResourceEntry( )
		};
	}
	public static ResourceEntry[] getRootEntries( String[] fileNamePattern )