handle warning, remove debug flag, update appbundler

This commit is contained in:
Ben Fry
2013-10-11 16:51:30 -04:00
parent c1dfec1263
commit a9097a8962
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ public class Base {
// static private boolean RELEASE = false;
/** True if heavy debugging error/log messages are enabled */
// static public boolean DEBUG = false;
static public boolean DEBUG = true;
static public boolean DEBUG = false;
// static public boolean DEBUG = true;
static HashMap<Integer, String> platformNames =
new HashMap<Integer, String>();
@@ -508,11 +508,11 @@ public class AppBundlerTask extends Task {
private void copyClassPathRefEntries(File javaDirectory) throws IOException {
if (classPathRef != null) {
org.apache.tools.ant.types.Path classpath =
(org.apache.tools.ant.types.Path) classPathRef.getReferencedObject(getProject());
(org.apache.tools.ant.types.Path) classPathRef.getReferencedObject(getProject());
Iterator<FileResource> iter = (Iterator<FileResource>)(Object)classpath.iterator();
while(iter.hasNext()) {
FileResource resource = iter.next();
Iterator<?> iter = classpath.iterator();
while (iter.hasNext()) {
FileResource resource = (FileResource) iter.next();
File source = resource.getFile();
File destination = new File(javaDirectory, source.getName());
copy(source, destination);
+1
View File
@@ -17,6 +17,7 @@ X https://github.com/processing/processing/issues/2113
X constrain lerpColor() between 0 and 1
_ JSONObject/Array.format(-1) not working on embedded JSONObjects
_ should be a quick fix, notes are in the report
_ https://github.com/processing/processing/issues/2119
opengl