Bug 133446 org.eclipse.birt.report.viewer compiles error in daily build 20060328
org.eclipse.birt.report.viewer compiles error in daily build 20060328. The error msg is below: viewservlets: [mkdir] Created dir: E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\temp.folder\birt_web\WEB-INF\lib\viewservlets.jar.bin [javac] Compiling 117 source files to E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\temp.folder\birt_web\WEB-INF\lib\viewservlets.jar.bin [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\birt_web\WEB-INF\classes\org\eclipse\birt\report\service\ReportEngineService.java:65: package org.eclipse.birt.report.engine.script.internal does not exist [javac] import org.eclipse.birt.report.engine.script.internal.ScriptExecutor; [javac] ^ [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\birt_web\WEB-INF\classes\org\eclipse\birt\report\service\ReportEngineService.java:213: cannot resolve symbol [javac] symbol : variable ScriptExecutor [javac] location: class org.eclipse.birt.report.service.ReportEngineService [javac] scriptlibClassPath += ScriptExecutor.PROPERTYSEPARATOR [javac] ^ [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\birt_web\WEB-INF\classes\org\eclipse\birt\report\service\ReportEngineService.java:216: cannot resolve symbol [javac] symbol : variable ScriptExecutor [javac] location: class org.eclipse.birt.report.service.ReportEngineService [javac] if ( scriptlibClassPath.startsWith( ScriptExecutor.PROPERTYSEPARATOR ) ) [javac] ^ [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\birt_web\WEB-INF\classes\org\eclipse\birt\report\service\ReportEngineService.java:218: package ScriptExecutor does not exist [javac] .substring( ScriptExecutor.PROPERTYSEPARATOR.length( ) ); [javac] ^ [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.viewer\birt_web\WEB-INF\classes\org\eclipse\birt\report\service\ReportEngineService.java:220: cannot resolve symbol [javac] symbol : variable ScriptExecutor [javac] location: class org.eclipse.birt.report.service.ReportEngineService [javac] System.setProperty( ScriptExecutor.WEBAPP_CLASSPATH_KEY, [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 5 errors
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
* Parameter typer convertion.
	 * 
	 * @param type
	 * @return
	 */
	public int getEngineDataType( String type )
	{
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )
		{
			return IScalarParameterDefn.TYPE_BOOLEAN;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )
		{
			return IScalarParameterDefn.TYPE_DATE_TIME;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type ) )
		{
			return IScalarParameterDefn.TYPE_DECIMAL;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )
		{
			return IScalarParameterDefn.TYPE_FLOAT;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
		{
			return IScalarParameterDefn.TYPE_STRING;
		}
		return IScalarParameterDefn.TYPE_ANY;
	}
}