if (root.equals(frameworkMap.get(dirs[j]))) { continue; }
File[] jars = fs.findJars(project, dirs[j]);
	protected String buildFrameworkPaths() {		StringBuffer buf = new StringBuffer();		List frameworkSets = getApplicatonTask().getFrameworkSets();		Project project = task.getProject();		// track included frameworks to avoid double entries		HashMap frameworkMap = new HashMap();		int size = frameworkSets.size();		for (int i = 0; i < size; i++) {			FrameworkSet fs = (FrameworkSet) frameworkSets.get(i);			// Don't bother checking if it's embedded.			if ( fs.getEmbed() ) {			    continue;			}			String root = fs.getRootPrefix();			try {				DirectoryScanner ds = fs.getDirectoryScanner(project);				String[] dirs = ds.getIncludedDirectories();				for (int j = 0; j < dirs.length; j++) {					// see if it is already included					if (root.equals(frameworkMap.get(dirs[j]))) {						continue;					}					frameworkMap.put(dirs[j], root);					String[] jars = fs.findJars(project, dirs[j]);					if (jars == null || jars.length == 0) {						log(							"No Jars in " + dirs[j] + ", ignoring.",							Project.MSG_VERBOSE);						continue;					}					int jsize = jars.length;					for (int k = 0; k < jsize; k++) {						log(							root + ": Framework JAR " + jars[k],							Project.MSG_VERBOSE);						// using Windows line ending, since all templates have it anyway.						// Please report any problems with that on other platforms						buf.append(root).append(File.separatorChar).append(							jars[k]).append(							"\r\n");					}				}			} catch (BuildException be) {				// directory doesn't exist or is not readable				log(be.getMessage(), Project.MSG_WARN);			}		}		return buf.toString();	}