Bug 156642 [Regression]Script of onPrepare is no effect
Details: Script of onPrepare is no effect Set any function on onPrepare, but it is no effect. For example: this.getStyle().color="red" Excepted: it is effect
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java
catch ( IOException e )
		{
			throw new EngineException( e.getLocalizedMessage( ) );
		}
		run( archive );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api.IRunTask#run(org.eclipse.birt.core.archive.IDocumentArchive)
	 */
	public void run( IDocArchiveWriter archive ) throws EngineException
	{
		if ( archive == null )
			throw new EngineException(
					"Report archive is not specified when running a report." ); 	
		this.archive = archive;
		doRun( );
	}
	private void openReportDocument( ) throws EngineException
	{
		try
		{
			archive.initialize( );
			writer = new ReportDocumentWriter( engine, archive );
			executionContext.setReportDocWriter( writer );
		}
		catch ( IOException ex )
		{
			throw new EngineException( "Can not open the report archive.", ex );