Bug 134954 Library can't be removed
Steps to reproduce: 1.New a report "a.rptdesign" 2.New a library which is not in the same fold with report, saying "../test/lib.rptlibrary" 3.Report includes the library 4.Remove the library Expected result: The library is removed Actual result: Open XMLSource, the included library structure is still there.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.command;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;