This is by no means a final solution, just a hack to avoid a delay of the release. Submitted by: Scott Sutherland <suthsc@ncs.com> git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267794 13f79535-47bb-0310-9956-ffa450edef68master
@@ -124,7 +124,7 @@ public class DDCreator extends MatchingTask { | |||||
ddCreatorTask.setFork("yes"); | ddCreatorTask.setFork("yes"); | ||||
ddCreatorTask.setClassname("org.apache.tools.ant.taskdefs.optional.ejb.DDCreatorHelper"); | ddCreatorTask.setClassname("org.apache.tools.ant.taskdefs.optional.ejb.DDCreatorHelper"); | ||||
ddCreatorTask.setArgs(args); | ddCreatorTask.setArgs(args); | ||||
ddCreatorTask.setClasspath(execClassPath); | |||||
ddCreatorTask.setClasspath(new Path(execClassPath)); | |||||
if (ddCreatorTask.executeJava() != 0) { | if (ddCreatorTask.executeJava() != 0) { | ||||
throw new BuildException("Execution of ddcreator helper failed"); | throw new BuildException("Execution of ddcreator helper failed"); | ||||
} | } | ||||
@@ -143,7 +143,7 @@ public class Ejbc extends MatchingTask { | |||||
} | } | ||||
helperTask.setArgs(args); | helperTask.setArgs(args); | ||||
helperTask.setClasspath(execClassPath); | |||||
helperTask.setClasspath(new Path(execClassPath)); | |||||
if (helperTask.executeJava() != 0) { | if (helperTask.executeJava() != 0) { | ||||
throw new BuildException("Execution of ejbc helper failed"); | throw new BuildException("Execution of ejbc helper failed"); | ||||
} | } | ||||
@@ -156,7 +156,7 @@ public class WLRun extends Task { | |||||
jvmArgs += " -Dweblogic.system.propertiesFile=" + weblogicPropertiesFile; | jvmArgs += " -Dweblogic.system.propertiesFile=" + weblogicPropertiesFile; | ||||
weblogicServer.setJvmargs(jvmArgs); | weblogicServer.setJvmargs(jvmArgs); | ||||
weblogicServer.setClasspath(execClassPath); | |||||
weblogicServer.setClasspath(new Path(execClassPath)); | |||||
if (weblogicServer.executeJava() != 0) { | if (weblogicServer.executeJava() != 0) { | ||||
throw new BuildException("Execution of weblogic server failed"); | throw new BuildException("Execution of weblogic server failed"); | ||||
} | } | ||||
@@ -116,7 +116,7 @@ public class WLStop extends Task { | |||||
String args = serverURL + " SHUTDOWN " + username + " " + password + " " + delay; | String args = serverURL + " SHUTDOWN " + username + " " + password + " " + delay; | ||||
weblogicAdmin.setArgs(args); | weblogicAdmin.setArgs(args); | ||||
weblogicAdmin.setClasspath(execClassPath); | |||||
weblogicAdmin.setClasspath(new Path(execClassPath)); | |||||
weblogicAdmin.execute(); | weblogicAdmin.execute(); | ||||
} | } | ||||