Browse Source

Quick fix to make the ejb classes compile.

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-ffa450edef68
master
Stefan Bodewig 25 years ago
parent
commit
10909be22e
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WLRun.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WLStop.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java View File

@@ -124,7 +124,7 @@ public class DDCreator extends MatchingTask {
ddCreatorTask.setFork("yes");
ddCreatorTask.setClassname("org.apache.tools.ant.taskdefs.optional.ejb.DDCreatorHelper");
ddCreatorTask.setArgs(args);
ddCreatorTask.setClasspath(execClassPath);
ddCreatorTask.setClasspath(new Path(execClassPath));
if (ddCreatorTask.executeJava() != 0) {
throw new BuildException("Execution of ddcreator helper failed");
}


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java View File

@@ -143,7 +143,7 @@ public class Ejbc extends MatchingTask {
}
helperTask.setArgs(args);
helperTask.setClasspath(execClassPath);
helperTask.setClasspath(new Path(execClassPath));
if (helperTask.executeJava() != 0) {
throw new BuildException("Execution of ejbc helper failed");
}


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WLRun.java View File

@@ -156,7 +156,7 @@ public class WLRun extends Task {
jvmArgs += " -Dweblogic.system.propertiesFile=" + weblogicPropertiesFile;

weblogicServer.setJvmargs(jvmArgs);
weblogicServer.setClasspath(execClassPath);
weblogicServer.setClasspath(new Path(execClassPath));
if (weblogicServer.executeJava() != 0) {
throw new BuildException("Execution of weblogic server failed");
}


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WLStop.java View File

@@ -116,7 +116,7 @@ public class WLStop extends Task {
String args = serverURL + " SHUTDOWN " + username + " " + password + " " + delay;

weblogicAdmin.setArgs(args);
weblogicAdmin.setClasspath(execClassPath);
weblogicAdmin.setClasspath(new Path(execClassPath));
weblogicAdmin.execute();
}


Loading…
Cancel
Save