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

Method fork

src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java:272–305  ·  view source on GitHub ↗

Run the Java command in a separate VM, this does not give you the full flexibility of the Java task, but may be enough for simple needs. @param pc the ProjectComponent to use for logging, etc. @return the exit status of the subprocess. @throws BuildException on error. @since Ant 1.6.3

(ProjectComponent pc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

compileMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95
testNoTimeOutForkedMethod · 0.45
testTimeOutForkedMethod · 0.45

Calls 15

setClassnameMethod · 0.95
createArgumentMethod · 0.95
createClasspathMethod · 0.95
addSyspropertiesMethod · 0.95
createHandlerMethod · 0.95
setAntRunMethod · 0.95
isFamilyMethod · 0.95
getCommandlineMethod · 0.95
setCommandlineMethod · 0.95
executeMethod · 0.95
completeMethod · 0.95

Tested by 2

testNoTimeOutForkedMethod · 0.36
testTimeOutForkedMethod · 0.36