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
return DataTypeUtil.toSqlDate( value );
			case IScalarParameterDefn.TYPE_TIME :
				return DataTypeUtil.toSqlTime( value );
				
			case IScalarParameterDefn.TYPE_DATE_TIME :
				return DataTypeUtil.toDate( value );
			case IScalarParameterDefn.TYPE_DECIMAL :
				return DataTypeUtil.toBigDecimal( value );
			case IScalarParameterDefn.TYPE_FLOAT :
				return DataTypeUtil.toDouble( value );
			case IScalarParameterDefn.TYPE_STRING :
				return DataTypeUtil.toString( value );
			
			case IScalarParameterDefn.TYPE_INTEGER :
				return DataTypeUtil.toInteger( value );
		}
		return null;
	}
	/**
	 * If -o (targetFile) is not specified, assume same directory as inputfile,
	 * and inputfile.*** as output file name (where *** is the output format.
	 * 
	 * If -o specifies a directory, assume the file name is the same as
	 * inputfile.***.
	 * 
	 * If -o specifies a file, it has a path part and a filename part. Take the
	 * path as the directory to store the file and other resources (for example
	 * image).
	 */
	protected void checkTargetFileName( )