Bug 152300 Model api is wrong.
In the LibrarCommand class,the method reloadLibrary , code lije this: activityStack.commit( ); // clears the activity stack to avoid potential problems. activityStack.flush( ); LibraryReloadedEvent event = new LibraryReloadedEvent( module .getLibraryByLocation( url.toExternalForm( ) ) ); module.broadcast( event ); Please first fire model event,then fire the commandstack event.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java
* Reloads the library with the given file path. After reloading, acticity
	 * stack is cleared.
	 * 
	 * @param location
	 *            the URL file path of the library file.
	 * @throws DesignFileException
	 *             if the file does no exist.
	 * @throws SemanticException
	 *             if the library is not included in the current module.
	 */
	public void reloadLibrary( String location ) throws DesignFileException,
			SemanticException
	{
		Library library = module.getLibraryByLocation( location );
		
		if ( !module.getLibraries( ).contains( library ) )
		{
			throw new LibraryException( library, new String[]{library == null
					? null
					: library.getNamespace( )},
					LibraryException.DESIGN_EXCEPTION_LIBRARY_NOT_FOUND );
		}
		String namespace = library.getNamespace( );
		IncludedLibrary includedItem = module.findIncludedLibrary( namespace );
		String path = includedItem.getFileName( );
		URL url = module.findResource( path, IResourceLocator.LIBRARY );
		if ( url == null )
		{
			DesignParserException ex = new DesignParserException(
					new String[]{path},