Bug 55884 Loading a user library from file does not warn when overwriting an existing library [build path]
Works in I2004032400010 + plug-in export for I200403240800 Add library 'mylib'. Save it. Change it. Load library from file. ==> should warn that 'mylib' gets changed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
}
	
				
				Transformer transformer=TransformerFactory.newInstance().newTransformer();
				transformer.setOutputProperty(OutputKeys.METHOD, "xml"); 
				transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); 
				transformer.setOutputProperty(OutputKeys.INDENT, "yes"); 
				transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount","4"); 
				DOMSource source = new DOMSource(document);
				StreamResult result = new StreamResult(outputStream);
				transformer.transform(source, result);
			} catch (ParserConfigurationException e) {
				throw new IOException(e.getMessage());
			} catch (TransformerException e) {
				throw new IOException(e.getMessage());			
			} finally {
				try {
					outputStream.close();
				} catch (IOException e) {
					
				}
				if (monitor != null) {
					monitor.done();
				}
			}
		}
				
		private static List loadLibraries(File file) throws IOException {
			Reader reader= new FileReader(file);
			Element cpElement;