MCPcopy Create free account
hub / github.com/apache/ant / resolveExecutable

Method resolveExecutable

src/main/org/apache/tools/ant/taskdefs/ExecTask.java:458–505  ·  view source on GitHub ↗

The method attempts to figure out where the executable is so that we can feed the full path. We first try basedir, then the exec dir, and then fallback to the straight executable name (i.e. on the path). @param exec the name of the executable. @param mustSearchPath if true, the executable will be l

(String exec, boolean mustSearchPath)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMethod · 0.95

Calls 9

isPathMethod · 0.95
getPathMethod · 0.95
listMethod · 0.95
getProjectMethod · 0.65
resolveFileMethod · 0.45
existsMethod · 0.45
getAbsolutePathMethod · 0.45
getVariablesMethod · 0.45

Tested by

no test coverage detected