File destinationDir = new File(doxygenDirectoryPath);
if (!destinationDir.exists()) {
destinationDir.mkdirs();
- } else if (destinationDir.exists()) {
+ } else {
return;
}
for (Enumeration<JarEntry> entries = jarFile.entries(); entries.hasMoreElements(); ) {
JarEntry entry = entries.nextElement();
if (entry.isDirectory()) {
- if (entry.getName().toUpperCase().indexOf("META-INF") != -1) {
- continue;
- }
+// if (entry.getName().toUpperCase().indexOf("META-INF") != -1) {
+// continue;
+// }
File newDirectory = new File(destinationDir, entry.getName());
newDirectory.mkdirs();
} else {
- if (entry.getName().toUpperCase().indexOf("META-INF") != -1) {
- continue;
- }
+// if (entry.getName().toUpperCase().indexOf("META-INF") != -1) {
+// continue;
+// }
File output = new File(destinationDir, entry.getName());
InputStream inputStream = jarFile.getInputStream(entry);
BufferedOutputStream outputStream = new BufferedOutputStream(new FileOutputStream(output));