@Test public void name() throws Exception { File self = new File(STSInstaller.class.getProtectionDomain().getCodeSource().getLocation().getFile()); String home = self.getParentFile().getParentFile().getParent(); File dest = new File(home + File.separator + "bin"); dest.mkdirs(); STSInstaller.main(new String[0]); FileUtils.deleteDirectory(dest); }
public static void main(String[] argv) throws IOException { writeOut("simple-table-server.bsh", false); writeOut("simple-table-server.cmd", false); writeOut("simple-table-server.sh", true); writeOut("NanoHttpd-2.1.0_License.txt", false); }
STSInstaller { public static void main(String[] argv) throws IOException { writeOut("simple-table-server.bsh", false); writeOut("simple-table-server.cmd", false); writeOut("simple-table-server.sh", true); writeOut("NanoHttpd-2.1.0_License.txt", false); } }
STSInstaller { public static void main(String[] argv) throws IOException { writeOut("simple-table-server.bsh", false); writeOut("simple-table-server.cmd", false); writeOut("simple-table-server.sh", true); writeOut("NanoHttpd-2.1.0_License.txt", false); }  }
STSInstaller { public static void main(String[] argv) throws IOException { writeOut("simple-table-server.bsh", false); writeOut("simple-table-server.cmd", false); writeOut("simple-table-server.sh", true); writeOut("NanoHttpd-2.1.0_License.txt", false); }  static void main(String[] argv); }
STSInstaller { public static void main(String[] argv) throws IOException { writeOut("simple-table-server.bsh", false); writeOut("simple-table-server.cmd", false); writeOut("simple-table-server.sh", true); writeOut("NanoHttpd-2.1.0_License.txt", false); }  static void main(String[] argv);  }