lots of fixes for 0070p7

This commit is contained in:
benfry
2004-09-28 03:54:00 +00:00
parent 9047c52827
commit 6996fefa09
11 changed files with 55 additions and 26 deletions

View File

@@ -311,10 +311,18 @@ public class PdeCompiler implements PdeMessageConsumer {
// c:/fry/processing/build/windows/work/lib/build/Temporary_6858_2476.java:1:34:1:41: Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Package "poo/shoe" could not be found in:
String classpathProblem = "You need to modify your classpath";
if (description.indexOf(classpathProblem) != -1) {
int nextSentence = description.indexOf(". Package") + 2;
description =
description.substring(nextSentence, description.indexOf(':')) +
" the code folder or in any libraries.";
if (description.indexOf("quicktime/std") != -1) {
// special case for the quicktime libraries
description =
"To run sketches that use the Processing video library, " +
"you must first install QuickTime for Java.";
} else {
int nextSentence = description.indexOf(". Package") + 2;
description =
description.substring(nextSentence, description.indexOf(':')) +
" the code folder or in any libraries.";
}
}
//System.out.println("description = " + description);