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
text.setEnabled( file.isDirectory( ) );
					}
					else
					{
						text.setText( "" ); 
						text.setEnabled( false );
					}
				}
				else
				{
					text.setText( "" ); 
					text.setEnabled( false );
				}
			}
		} );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
	 */
	protected void okPressed( )
	{
		super.okPressed( );
		Object[] selected = getResult( );
		if ( selected.length > 0 && !newFileName.equals( "" )) 
		{
			ResourceEntry entry = (ResourceEntry) selected[0];
			File file = new File( entry.getURL( ).getPath( ) );
			try