Correct path of sfx so that it can be launched from eclipse menu

Change-Id: I54f35d480afbe1d356ee5a55e8c04e62f94ee757
This commit is contained in:
Joe Ross
2015-01-02 15:41:04 -08:00
parent 359a155915
commit f7117aac4b

View File

@@ -34,7 +34,7 @@ public class RunSFXDashboardAction implements IWorkbenchWindowActionDelegate {
* @see IWorkbenchWindowActionDelegate#run
*/
public void run(IAction action) {
File dir = new File(WPILibCore.getDefault().getWPILibBaseDir()+File.separator+"tools");
File dir = new File(WPILibCore.getDefault().getWPILibBaseDir()+File.separator+"tools"+File.separator+"sfx-2014.11.01");
File[] files = dir.listFiles(new FilenameFilter() {
@Override public boolean accept(File dir, String name) {
return name.startsWith("sfx") && name.endsWith(".jar");