String lib = (String)i.next(); File libFile = new File(lib); if (libFile.isFile() && lib.endsWith(".jar")) { try { if (verbose) System.out.println("WeavingAdaptor: adding aspect '" + lib + "' to weaver"); addAspectLibrary(new File(lib)); } catch (IOException ioEx) { if (verbose) System.err.println( "WeavingAdaptor: Warning - could not load aspect path entry " + lib + " : " + ioEx); } } else { if (verbose) System.err.println( "WeavingAdaptor: Warning - ignoring aspect path entry: " + lib); }
String libName = (String)i.next(); addAspectLibrary(libName);
	private void registerAspectLibraries(List aspectPath) {//		System.err.println("? WeavingAdaptor.registerAspectLibraries(" + aspectPath + ")");		for (Iterator i = aspectPath.iterator(); i.hasNext();) {			String lib = (String)i.next();			File libFile = new File(lib);			if (libFile.isFile() && lib.endsWith(".jar")) {				try {					if (verbose) System.out.println("WeavingAdaptor: adding aspect '" + lib + "' to weaver");					addAspectLibrary(new File(lib));				} catch (IOException ioEx) {					if (verbose) System.err.println(						"WeavingAdaptor: Warning - could not load aspect path entry " 						+ lib + " : " + ioEx);				}			} else {				if (verbose) System.err.println(					"WeavingAdaptor: Warning - ignoring aspect path entry: " + lib);			}		}				weaver.prepareForWeave();	}