for (int j = 0; j < dirs.length; j++) { File[] jars = fs.findJars(dirs[j]);
for (int j = 0; j < frameworks.length; j++) { String frameworkName = frameworks[j]; File[] jars = fs.findJars(frameworkName);
    protected String buildFrameworkPaths() {        StringBuffer buf = new StringBuffer();        Project project = getProject();        // track included jar files to avoid double entries        Vector jarSet = new Vector();		        int size = frameworkSets.size();        for (int i = 0; i < size; i++) {            FrameworkSet fs = (FrameworkSet) frameworkSets.get(i);            try {                DirectoryScanner ds = fs.getDirectoryScanner(project);                String[] dirs = ds.getIncludedDirectories();                for (int j = 0; j < dirs.length; j++) {                    File[] jars = fs.findJars(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++) {                        if(!jarSet.contains(jars[k]))                            jarSet.add(jars[k]);                    }                }            } catch (BuildException be) {                // directory doesn't exist or is not readable                log(be.getMessage(), Project.MSG_WARN);            }        }        Object someFiles[] = jarSet.toArray();        size = someFiles.length;        for (int i = 0; i < size; i++) {            log(": Framework JAR " + someFiles[i], Project.MSG_VERBOSE);            buf.append(someFiles[i]).append(":");        }        return buf.toString();    }