MCPcopy Create free account
hub / github.com/SeanDragon/protools / jar

Method jar

common/src/main/java/pro/tools/system/ToolMaven.java:24–29  ·  view source on GitHub ↗
(String filePath)

Source from the content-addressed store, hash-verified

22 }
23
24 public static boolean jar(String filePath) throws IOException {
25 String jarStr = "mvn jar:jar";
26 ToolShell.ToolCommandExec toolCommandExec = new ToolShell.ToolCommandExec(true, false, " cd " + filePath, jarStr);
27 ToolShell.ToolCommandResult toolCommandResult = ToolShell.execCmd(toolCommandExec);
28 return toolCommandResult.errorMsg.length() <= 1;
29 }
30}

Callers

nothing calls this directly

Calls 2

execCmdMethod · 0.95
lengthMethod · 0.80

Tested by

no test coverage detected