diff --git a/processing/app/PdeSketch.java b/processing/app/PdeSketch.java index c02d9ff20..28fe60ced 100644 --- a/processing/app/PdeSketch.java +++ b/processing/app/PdeSketch.java @@ -1454,9 +1454,17 @@ public class PdeSketch { File libraryFolder = (File)enum.nextElement(); //System.out.println("exporting files from " + libFolder); File exportSettings = new File(libraryFolder, "export.txt"); - String exportList[]; // = null; + String exportList[] = null; if (exportSettings.exists()) { - exportList = PApplet.loadStrings(exportSettings); + //exportList = PApplet.loadStrings(exportSettings); + String info[] = PApplet.loadStrings(exportSettings); + for (int i = 0; i < info.length; i++) { + if (info[i].startsWith("applet")) { + int idx = info[i].indexOf('='); // get applet= or applet = + String commas = info[i].substring(idx+1).trim(); + exportList = PApplet.split(commas, ", "); + } + } } else { exportList = libraryFolder.list(); } diff --git a/processing/todo.txt b/processing/todo.txt index 4fdba995c..80846cd10 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -116,6 +116,10 @@ sure if related. same for PATH and CLASSPATH. * some virus scanning software, particularly older NAV versions cause the trouble. +040925 +X change how export.txt works +X make p2 dist for amit + _ remove fonts from distribution _ fix dist.sh for mac, pc, linux