mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
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:
@@ -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();}
|
||||
|
||||
Reference in New Issue
Block a user