cleaning up warnings, specifying Java 1.6 for build in Eclipse, remove unused

This commit is contained in:
benfry
2011-11-12 17:31:06 +00:00
parent 0487c536a1
commit 436a81e330
18 changed files with 1510 additions and 1502 deletions

View File

@@ -1236,7 +1236,7 @@ public class JavaBuild {
String includes = Base.contentsToClassPath(sketch.getCodeFolder());
// Use tokens to get rid of extra blanks, which causes huge exports
String[] codeList = PApplet.splitTokens(includes, File.pathSeparator);
String cp = "";
// String cp = "";
for (int i = 0; i < codeList.length; i++) {
if (codeList[i].toLowerCase().endsWith(".jar") ||
codeList[i].toLowerCase().endsWith(".zip")) {
@@ -1245,7 +1245,7 @@ public class JavaBuild {
Base.copyFile(exportFile, new File(jarFolder, exportFilename));
jarListVector.add(exportFilename);
} else {
cp += codeList[i] + File.pathSeparator;
// cp += codeList[i] + File.pathSeparator;
}
}
// packClassPathIntoZipFile(cp, zos, zipFileContents); // this was double adding the code folder prior to 2.0a2