Bug 178164 Use IEngineTask.status constants and remove unnecessary status variables in EngineTask.
1)Remove following redundant variables in EngineTask used for status info. protected final int RUNNING_STATUS_START = 0; protected final int RUNNING_STATUS_RUNNING = 1; protected final int RUNNING_STATUS_STOP = 2; EngineTask already has access to constants declared in IEngineTask. Use those instead. 2)Remove the unused errorHandlingOption in EngineTask.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
executionContext.close( );
	}
	
	protected IReportLayoutEngine createReportLayoutEngine(String pagination, IRenderOption options)
	{
		IReportLayoutEngine layoutEngine = LayoutEngineFactory.createLayoutEngine( pagination );
		if(options!=null)
		{
			Object fitToPage = renderOptions.getOption(IPDFRenderOption.FIT_TO_PAGE);
			if(fitToPage!=null)
			{
				layoutEngine.setOption(IPDFRenderOption.FIT_TO_PAGE, fitToPage);
			}
			Object pagebreakOnly = renderOptions.getOption(IPDFRenderOption.PAGEBREAK_PAGINATION_ONLY);
			if(pagebreakOnly!=null)
			{
				layoutEngine.setOption(IPDFRenderOption.PAGEBREAK_PAGINATION_ONLY, pagebreakOnly);
			}
		}
		return layoutEngine;
	}
	protected void loadDesign( )
	{
		if ( runnable != null )
		{
			ReportDesignHandle reportDesign = executionContext.getDesign( );
			
			Iterator iter = reportDesign.includeScriptsIterator( );
			while ( iter.hasNext( ) )
			{