Bug 55975 User Libraries lose jars after save, load [build path]
I20040324-0800 Saving and then re-loading the saved user library misses some of the jars. Steps: - new workspace, import org.apache.ant as binary - new java project "abc" - on abc: Properties, Buildpath, Libraries, Add Library - User Library, Next, User Libraries - New: "Ameisen" (not system) - Add Jars... - add ant.jar and ant-antlr.jar from org.apache.ant/lib - Save... into ameisen.userlibraries - Load... from ameisen.userlibraries, load "Ameisen" -> only ant-antlr.jar is loaded -> cannot remove ant-antlr.jar (no reaction, log empty)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.preferences;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;