Bug 96222 [build path] Java User Libraries import/export format is not backward compatible
Hi, I have problems importing Java User Libraries from Eclipse 3.0.2 to the latest Eclipse 3.1M7. It appears that the format of .userlibraries file has been changed and is not compatible with previous Eclipse release anymore. I have investigated the difference and found out that new Eclipse 3.1M7 fails to process path values with backslash ("\") separator. Replacing backslash characters by Unix-like slash "/" fixes the problem. Could you look at the problem, please.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
}
	private boolean canEdit(List list) {
		if (list.size() == 1) {
			return true;
		}
		return false;
	}
	private boolean canRemove(List list) { 
		return !list.isEmpty();
	}
	
	private CPUserLibraryElement getCommonParent(List list) {
		CPUserLibraryElement parent= null;
		for (int i= 0, len= list.size(); i < len; i++) {
			Object curr= list.get(i);
			if (curr instanceof CPListElement) {
				Object elemParent= ((CPListElement) curr).getParentContainer();
				if (parent == null) {
					if (elemParent instanceof CPUserLibraryElement) {
						parent= (CPUserLibraryElement) elemParent;
					} else {
						return null;
					}
				} else if (parent != elemParent) {
					return null;
				}
			} else {
				return null;
			}
		}