Bug 190931 ReportEngine runtime output file name issue.[0600]
Description: ReportEngine runtime output file name issue. Build number:2.2.0.v20070605 Steps to reproduce: 1. Run below commands: genReport -m run -o Test.rptdocument -p "sample=hello" test.rptdesign genReport -m render -f html -o Testdoc.html Test.rptdocument Expected result: The output file name is Testdoc.html. Actual result: The output file name is Testdoc_1.html. As the user has specify the output file name, the output file should use the name instead of change it. Error log:N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportRunner.java
*            parameter string line. use '=' to separate the name and value.
	 * @param params
	 *            maps contains all the paramter name and value.
	 */
	protected void readParamString( String param, HashMap params )
	{
		if ( param == null || param.length( ) < 2 )
		{
			return;
		}
		int index = param.indexOf( "=" );
		if ( index < 1 )
		{
			return;
		}
		String name = param.substring( 0, index ).trim( );
		String value = param.substring( index + 1 ).trim( );
		if ( value.startsWith( "\"" ) && value.endsWith( "\"" )
				&& value.length( ) > 2 )
		{
			value = value.substring( 1, value.length( ) - 1 );
		}
		params.put( name, value );
	}
	/**
	 * paraser the paramter command line inputs.
	 * 
	 * @return the HashMap contains all the paramter name and values.
	 */
	protected void parseParameterOptions( )