// we end up with:
// -Djava.security.policy==./server/lib/weblogic.policy
// (otherwise, we would end up with:
// -Djava.security.policy=./server/lib/weblogic.policy, which
// will not add to the security policy but instead replace it).
java.addSysproperty(
createSysProperty("java.security.policy",
"=./server/lib/weblogic.policy"));
Path classpath = java.createClasspath();
classpath.createPathElement().setLocation(