1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

More cleanup:

- fixing import library
- changing compilation to only look for source files in the root and utility/ folders of a library; also adding utility/ sub-folder to the include path
- removing export to application
- renaming run to verify / compile and export to upload
This commit is contained in:
David A. Mellis
2009-06-01 18:11:25 +00:00
parent df4f1629c4
commit 89139d1f77
5 changed files with 24 additions and 60 deletions

View File

@ -984,7 +984,11 @@ public class Base {
try {
menu.removeAll();
addSketches(menu, examplesFolder, false);
boolean found = addSketches(menu, examplesFolder, false);
if (found) menu.addSeparator();
found = addSketches(menu, getSketchbookLibrariesFolder(), false);
if (found) menu.addSeparator();
addSketches(menu, librariesFolder, false);
} catch (IOException e) {
e.printStackTrace();
}
@ -1141,7 +1145,7 @@ public class Base {
JMenuItem item = new JMenuItem(libraryName);
item.addActionListener(listener);
// item.setActionCommand(libraryJar.getAbsolutePath());
item.setActionCommand(subfolder.getAbsolutePath());
menu.add(item);
ifound = true;