Classloader error bug fix

This commit is contained in:
Manindra Moharana
2013-02-19 04:07:10 +05:30
parent 3be048eb77
commit f2704d9eb1

View File

@@ -290,8 +290,7 @@ public class Runner implements MessageConsumer {
}
params.add(PApplet.ARGS_DISPLAY + "=" + runDisplay);
params.add(PApplet.ARGS_SKETCH_FOLDER + "=" +
build.getSketchPath());
if (presenting) {
params.add(PApplet.ARGS_FULL_SCREEN);
@@ -305,6 +304,10 @@ public class Runner implements MessageConsumer {
}
params.add(build.getSketchClassName());
params.add(PApplet.ARGS_SKETCH_FOLDER + "=" +
build.getSketchPath());
// Adding sketch path in the end coz it's likely to
// contain spaces and things go wrong on UNIX systems.
}
// String outgoing[] = new String[params.size()];