Bug 198604 After refresh the library, the link groups key are changed in cube builder[1101]
Description: After refresh the library, the link groups key are changed in cube builder[1101] Build number: 2.2.1.v20070802-0630 Steps to reproduce: 1, New a cube in library, the cube has a joint key between dimension table and facttable 2, Using the cube in a report design 3, Check the joint status in link group 4, Refresh the library in outline 5, Recheck the joint staus in link group Expected result: After step5, the joint status are correct and as same as the status in library Actual result: The dimension table is missing and the joint key is disconnected
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/ReloadLibraryTest.java
* Test reloading a library, in which there is only a label.
	 * <p>
	 * <strong>Case1:</strong>
	 * <p>
	 * both resource path and report folder has the library file.
	 * <p>
	 * Changed resource path to null. And try to reload(). No exception. And the
	 * library location becomes library in the report folder.
	 * <p>
	 * 
	 * @throws Exception
	 */
	public void testReloadLibrary2( ) throws Exception
	{
		List fileNames = new ArrayList( );
		fileNames.add( INPUT_FOLDER + "DesignToReloadLibrary.xml" ); 
		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 );
		}