12871288128912901291129212931294129512961297
ExternalCommand cmd = ExternalCommand.create("jar", "-" + (update ? "u" : "c") + "vfM", jarFile.getCanonicalPath(), "."); cmd.setWorkingDirectory(root); cmd.start(); cmd.waitFor(); assertEquals(0, cmd.exitValue()); jarFile.deleteOnExit();