Fixed Processing library detection and added an error when the library cannot be found. Multiple missing libraries results in multiple errors. Still encountering classpath errors, and introduced a bug that copies the directory into itself again. Hate to check in a bug, but I have to stop for the night and sleep.

This commit is contained in:
lonnen
2010-09-02 07:34:03 +00:00
parent 56445cb6a3
commit 0989d502b3
5 changed files with 654 additions and 618 deletions

View File

@@ -114,17 +114,20 @@ public class NewSketchWizard extends Wizard implements INewWizard {
// create the folders
IContainer container = (IContainer) proj;
// Configuring the project will set up the folder structure
//data
IFolder dataFolder = container.getFolder(new Path("data"));
dataFolder.create(true, true, monitor);
monitor.worked(33);
//code
IFolder codeFolder = container.getFolder(new Path("code"));
codeFolder.create(true, true, monitor);
monitor.worked(33);
//bin
IFolder binFolder = container.getFolder(new Path("bin"));
binFolder.create(true, true, monitor);
// IFolder dataFolder = container.getFolder(new Path("data"));
// dataFolder.create(true, true, monitor);
// monitor.worked(33);
// //code
// IFolder codeFolder = container.getFolder(new Path("code"));
// codeFolder.create(true, true, monitor);
// monitor.worked(33);
// //bin
// IFolder binFolder = container.getFolder(new Path("bin"));
// binFolder.create(true, true, monitor);
monitor.worked(34);
if (monitor.isCanceled()){throw new OperationCanceledException();}