Bug 123038 Change order of BIRT streams
Currenlty, birt streams have no order. For example, the version number is stored at the very end of the file! Need to exert some ordering.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentWriter.java
public void close( )
	{
		try
		{
			if ( coreStream != null )
			{
				try
				{
					IOUtil.writeString( coreStream, designName );
					IOUtil.writeMap( coreStream, paramters );
					IOUtil.writeMap( coreStream, globalVariables );
				}
				finally
				{
					try
					{
						coreStream.close( );
					}
					catch ( Exception ex )
					{
					}
				}
			}
			archive.finish( );
		}
		catch ( IOException e )
		{
			logger.log( Level.SEVERE, "Failed in close the archive", e );
		}
	}