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
config.setLogConfig( logDirectory, level );
		
		String scriptLibDir = servletConfig.getServletContext( )
				.getInitParameter( ParameterAccessor.INIT_PARAM_SCRIPTLIB_DIR );
		if ( scriptLibDir == null || scriptLibDir.trim( ).length( ) <= 0
				|| ParameterAccessor.isRelativePath( scriptLibDir ) )
		{
			scriptLibDir = servletConfig.getServletContext( ).getRealPath(
					"/scriptlib" ); 
		}
		ArrayList jarFileList = new ArrayList( );
		if ( scriptLibDir != null )
		{
			File dir = new File( scriptLibDir );
			getAllJarFiles( dir, jarFileList );
		}
		String scriptlibClassPath = ""; 
		for ( int i = 0; i < jarFileList.size( ); i++ )
			scriptlibClassPath += ScriptExecutor.PROPERTYSEPARATOR
					+ ( (File) jarFileList.get( i ) ).getAbsolutePath( );
		if ( scriptlibClassPath.startsWith( ScriptExecutor.PROPERTYSEPARATOR ) )
			scriptlibClassPath = scriptlibClassPath
					.substring( ScriptExecutor.PROPERTYSEPARATOR.length( ) );
		System.setProperty( ScriptExecutor.WEBAPP_CLASSPATH_KEY,
				scriptlibClassPath );
		config.setEngineHome( "" ); 
	}
	/**
	 * Get engine instance.
	 *