createSysProperty("jboss.server.home.dir", customServerDir));
java.addSysproperty(
createSysProperty("jboss.server.home.url",
customServerDir.toURL().toString()));
Path classpath = java.createClasspath();
classpath.createPathElement().setLocation(
new File(binDir, "run.jar"));
addToolsJarToClasspath(classpath);
java.setClassname("org.jboss.Main");
java.createArg().setValue("-c");