Bug 176436 Charts Imported from Libraries do not update when libraries change
During a live presentation of BIRT at EclipseCon, we came across a rather embarassing issue. When charts are included in a library, and imported into a report design from a library, any changes to the library instance of the chart do not reflect in the report itself.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/ReloadLibraryTest.java
fileNames.add( INPUT_FOLDER + "LibraryToReload.xml" ); 
		fileNames.add( "/org/eclipse/birt/report/model/api/" + INPUT_FOLDER 
				+ "LibraryToReload.xml" ); 
		sessionHandle = new DesignEngine( new DesignConfig( ) )
				.newSessionHandle( null );
		assertNotNull( sessionHandle );
		List filePaths = dumpDesignAndLibrariesToFile( fileNames );
		String apiFilePath = (String) filePaths.get( 2 );
		int lastSlash = apiFilePath.lastIndexOf( "/" ); 
		String apiFileDir = ""; 
		if ( lastSlash != -1 )
		{
			apiFileDir = apiFilePath.substring( 0, lastSlash + 1 );
		}
		sessionHandle.setResourceFolder( apiFileDir );
		
		String designFilePath = (String) filePaths.get( 0 );
		designHandle = sessionHandle.openDesign( designFilePath );
		libraryHandle = designHandle.getLibrary( "Lib1" ); 		
		assertNotNull( libraryHandle );
		String location1 = libraryHandle.getModule( ).getLocation( );
		sessionHandle.setResourceFolder( null );
		designHandle.reloadLibrary( libraryHandle );
		libraryHandle = designHandle.getLibrary( "Lib1" ); 
		assertNotNull( libraryHandle );
		String location2 = libraryHandle.getModule( ).getLocation( );
		assertFalse( location1.equalsIgnoreCase( location2 ) );
	}
	private static class MyLibraryListener implements Listener
	{