while (!workList.isEmpty()) { WorkListItem item = workList.removeFirst();  ICodeBase codeBase = item.getCodeBase(); classPath.addCodeBase(codeBase);   if (codeBase instanceof IScannableCodeBase) { checkForNestedArchives(workList, (IScannableCodeBase) codeBase); }   scanForClasspathReferences(workList, codeBase); }
	private void buildClassPath() throws IOException {		// Worklist of application code bases to be registered		// and scanned for:		//   - nested archives		//   - Class-Path references in Jar manifests (which will be		//     added to the aux classpath)		LinkedList<String> appWorkList = new LinkedList<String>();		// List of auxiliary classpath entries		LinkedList<String> auxList = new LinkedList<String>();				// Create application codebases.		appWorkList.addAll(Arrays.asList(project.getFileArray()));		while (!appWorkList.isEmpty()) {			String url = appWorkList.removeFirst();			IScannableCodeBase appCodeBase = ClassFactory.instance().createLocalCodeBase(url);			classPath.addCodeBase(appCodeBase);						// Any nested archives?						// Any Class-Path references?		}				// Create auxiliary codebases.		// TODO	}