Browse Source

Make the flatdestdir attribute work when using deployment descriptors

in the root directory

Minor javadoc fix in wlrun


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268096 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
5308826fb8
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WLRun.java

+ 4
- 0
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java View File

@@ -280,6 +280,10 @@ public class GenericDeploymentTool implements EJBDeploymentTool {
// a flat destination dir, then we need to redefine baseName!
if (flatDestDir && baseName.length() != 0) {
int startName = baseName.lastIndexOf(File.separator);
if (startName == -1) {
startName = 0;
}
int endName = baseName.length();
baseName = baseName.substring(startName, endName);
}


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

@@ -72,7 +72,7 @@ public class WLRun extends Task {
static private final String defaultPolicyFile = "weblogic.policy";

/**
* The classpath to be used in the weblogic ejbc calls. It must contain the weblogic
* The classpath to be used when running the Java VM. It must contain the weblogic
* classes <b>and</b> the implementation classes of the home and remote interfaces.
*/
private Path classpath;


Loading…
Cancel
Save