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
}
		catch ( IOException e )
		{
			logger.log( Level.SEVERE,
					"Can't open file: " + file.getAbsolutePath( ) ); 
		}
		params.putAll( ps );
	}
	private HashMap evaluateParameterValues( IReportRunnable runnable )
	{
		HashMap inputValues = new HashMap( );
		IGetParameterDefinitionTask task = engine
				.createGetParameterDefinitionTask( runnable );
		Collection paramDefns = task.getParameterDefns( false );
		Iterator iter = paramDefns.iterator( );
		while ( iter.hasNext( ) )
		{
			
			IParameterDefnBase pBase = (IParameterDefnBase) iter.next( );
			if ( pBase instanceof IScalarParameterDefn )
			{
				IScalarParameterDefn paramDefn = (IScalarParameterDefn) pBase;
				String paramName = paramDefn.getName( );
				String inputValue = (String) params.get( paramName );
				int paramType = paramDefn.getDataType( );
				try
				{
					Object paramValue = stringToObject( paramType, inputValue );
					if ( paramValue != null )
					{