protected void getJars(List<String> jars, File file) {
		JarFilter jarFilter = new JarFilter();
		DirectoryFilter directoryFilter = new DirectoryFilter();

		if (file.exists() && file.isDirectory() && file.isAbsolute()) {
			String[] jarList = file.list(jarFilter);
			for (int i = 0; (jarList != null) && (i < jarList.length); ++i) {
				jars.add(jarList[i]);
			}

			String[] directories = file.list(directoryFilter);
			for (int i = 0; (directories != null) && (i < directories.length); ++i) {
				getJars(jars, new File(file, directories[i]));
			}
		}
	}