@@ -0,0 +1,1118 @@
+package org.studentrobotics.ide.checkout;%0A%0Apublic class DriveFinder %7B%0A%09private static DriveFinder instance = null;%0A%09%0A%09%0A%09public static String findSroboDrive() %7B%0A%09%09DriveFinder df = getInstance();%0A%09%09System.err.println(%22df is %22 + df.toString());%0A%09%09return df.findPath();%0A%09%09%0A%09%7D%0A%09%0A%09private String findPath() %7B%0A%09%09OperatingSystem os = getOS();%0A%09%09System.err.println(%22os is %22 + os.toString());%0A%09%09%0A%09%09if (os == OperatingSystem.windows) %7B%0A%09%09%09return new WindowsDrive().findPath();%0A%09%09%7D else if (os == OperatingSystem.nix) %7B%0A%09%09%09return new LinuxDrive().findPath();%0A%09%09%7D else %7B%0A%09%09%09CheckoutApplet.hasDied = true;%0A%09%09%09return null;%0A%09%09%7D%0A%09%09%0A%09%7D%0A%0A%09private static DriveFinder getInstance() %7B%0A%09%09if (instance == null) %7B%0A%09%09%09instance = new DriveFinder();%0A%09%09%7D%0A%09%09%0A%09%09return instance;%0A%09%7D%0A%0A%09public OperatingSystem getOS()%7B%0A%09%09String os = System.getProperty(%22os.name%22).toLowerCase();%0A%09%09if (os.contains(%22win%22)) %7B%0A%09%09%09return OperatingSystem.windows;%0A%0A%09%09// do a check for *nix (including apple)%0A%09%09%7D else if (os.contains(%22nix%22) %7C%7C os.contains(%22nux%22) %7C%7C os.contains(%22mac%22)) %7B%0A%09%09%09return OperatingSystem.nix;%0A%09%09%7D else %7B%0A%09%09%09return OperatingSystem.unknown;%0A%09%09%7D%0A%09%7D%0A%09%0A%7D%0A

add the class to find srobo drives