diff options
author | Paul Malmsten <pmalmsten@gmail.com> | 2014-11-28 18:12:27 -0500 |
---|---|---|
committer | Paul Malmsten <pmalmsten@gmail.com> | 2014-11-28 18:12:27 -0500 |
commit | ba05df10445684b21231fd31e0364198af4e5100 (patch) | |
tree | a00a36816f624ac2e64d3cda7560b7dd9c26e5dd /smartdashboard | |
parent | 2f2bddd90141156271d22250fc2b46bbaeac08bf (diff) |
Moved Smart Dashboard extensions directory to ~/SmartDashboard/extensions
The previous location was ~/wpilib/tools/sd_extensions, which would be
squahed by installs of eclipse plugins. This addresses artf3811
(https://usfirst.collab.net/sf/go/artf3811).
Change-Id: Ic712c0ff8148076400c4cc42e75e2013428d7622
Diffstat (limited to 'smartdashboard')
-rw-r--r-- | smartdashboard/src/edu/wpi/first/smartdashboard/extensions/FileSniffer.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/smartdashboard/src/edu/wpi/first/smartdashboard/extensions/FileSniffer.java b/smartdashboard/src/edu/wpi/first/smartdashboard/extensions/FileSniffer.java index 673cd18..6ee5c80 100644 --- a/smartdashboard/src/edu/wpi/first/smartdashboard/extensions/FileSniffer.java +++ b/smartdashboard/src/edu/wpi/first/smartdashboard/extensions/FileSniffer.java @@ -18,18 +18,16 @@ import edu.wpi.first.smartdashboard.gui.elements.*; import edu.wpi.first.smartdashboard.types.*; /** - * This class searches through the ./lib, ~/wpilib/tools/sd_extensions, - * and ~/wpilib/tools/sd_extensions/lib folders and adds to the class path all - * of the jars it finds. Then it searches the ~/wpilib/tools/sd_extensions folder - * for any jars, adding them to the class path and then searching through them to find any - * internal {@link StaticWidget StaticWidgets} or {@link Widget Widgets}. + * This class searches for library and extension jars and adds them + * to the system class loader. It then searches within extension jars for + * {@link StaticWidget StaticWidget}s or {@link Widget Widget}s, and registers + * them in the dashboard. * * @author Joe Grinstead */ public class FileSniffer { private static final File EXTENSION_DIR = - new File(getUserHomeDir(), "wpilib/tools/sd_extensions"); - + new File(getUserHomeDir(), "SmartDashboard/extensions"); private static final File[] LIBRARY_DIRS = { new File("./lib"), new File(EXTENSION_DIR, "lib"), |