Platform.initialize( new PlatformFileContext( ) );
Platform.startup( new PlatformConfig() );
	public IReportEngine createReportEngine( EngineConfig config )	{		if ( config == null )		{			config = new EngineConfig( );		}		Platform.initialize( new PlatformFileContext( ) );		// assume we has in the platform		Object factory = Platform				.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );		if ( factory instanceof IReportEngineFactory )		{			return ( (IReportEngineFactory) factory )					.createReportEngine( config );		}		return null;	}