String jarDirName = frameworkDir; if (frameworkDir.endsWith(".woa")) jarDirName += File.separator + "Resources" + File.separator + "Java"; File jarDir = new File(getDir(getProject()), jarDirName);
String jarDirName = frameworkDir + File.separator + "Resources" + File.separator + "Java";  File jarDir = new File(getDir(this.getProject()), jarDirName);
    public File[] findJars(String frameworkDir) {        if (!testIfCondition())            return new File[] {};        String jarDirName = frameworkDir;        if (frameworkDir.endsWith(".woa"))                jarDirName += File.separator + "Resources" + File.separator + "Java";        File jarDir = new File(getDir(getProject()), jarDirName);        if (!jarDir.isDirectory()) {            return new File[] {};        }        File[] finalFiles = jarDir.listFiles(new JarFilter());        return finalFiles;    }