Bug 159380 [regression]Not find DataEngineContextExt class cause all engine/dte smoke testing fail
Description Not find DataEngineContextExt class cause all engine/dte smoke testing fail Steps to reproduce: Run Engine/DTE smoke testing framework Expected result&#65306; Outputs are correct. Actaul result: All outputs are 0kb with Exception: Error happened while running the report. java.lang.NoClassDefFoundError: org/eclipse/birt/data/engine/impl/DataEngineContextExt at org.eclipse.birt.data.engine.api.DataEngineContext.setTmpdir(DataEngineContext.java:374) at org.eclipse.birt.report.engine.data.dte.DteDataEngine.<init>(DteDataEngine.java:71) at org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:94) at org.eclipse.birt.report.engine.executor.ExecutionContext.getDataEngine(ExecutionContext.java:694) at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:99) at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:38) at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:68) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:207) at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:237) at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:162) at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:118)
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java
public IQueryResults getQueryResults( String queryResultID ) throws DataException
	{
		if ( context.getMode( ) != DataEngineContext.MODE_PRESENTATION )
			throw new DataException( ResourceConstants.WRONG_STATUS );
		return new QueryResults( this.context, queryResultID );
	}
	
	/**
	 * Provides the definition of a data source to Data Engine. A data source
	 * must be defined using this method prior to preparing any report query
	 * that uses such data source. <br>
	 * Data sources are uniquely identified name. If specified data source has
	 * already been defined, its definition will be updated with the content of
	 * the provided DataSourceDesign
	 */
	public void defineDataSource( IBaseDataSourceDesign dataSource )
			throws DataException
	{
		logger.entering( DataEngineImpl.class.getName( ),
				"defineDataSource",
				dataSource == null ? null : dataSource.getName( ) );
		if ( dataSource == null )
		{
			NullPointerException e = new NullPointerException( "dataSource param cannot be null" );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"defineDataSource",
					"dataSource param cannot be null",
					e );
			throw e;