Bug 157256 [smoke][regression] fail to locate existing resource file
steps to reproduce: - create a report, select the report - go to property editor, choose resources - add a resource file, say key.properties under resource folder, click on ok - notice /key is displayed in the resource file text box - switch to report layout - add a label item, edit its localization, click on add expected behavior: - key.properties can be located actual behavior: - failed to so, however after i removed "/" in front of "key" in resource file text box, it worked out fine.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/NewResourceFileDialog.java
.endsWith( ext.toLowerCase( ) ) )
			{
				return ErrorStatus;
			}
			return OKStatus;
		}
	}
	public NewResourceFileDialog( )
	{
		super( true, new String[]{
			"*.properties" 
			} );
		setDoubleClickSelects( true );
		setValidator( new Validator( ) );
		setAllowMultiple( false );
		
		setTitle( Messages.getString( "ModulePage.Resourcefile.Dialog.Title" ) ); 
		setMessage( Messages.getString( "ModulePage.Resourcefile.Dialog.Message" ) ); 
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.dialogs.ElementTreeSelectionDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
	 */
	protected Control createDialogArea( Composite parent )
	{
		Composite rt = (Composite) super.createDialogArea( parent );
		rt.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		Composite pane = new Composite( rt, 0 );
		pane.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );