From 616dd57d1a8f0feb46e187d4fc878d254681fd9c Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Wed, 8 Aug 2001 11:52:25 +0000 Subject: [PATCH] Fixes to the borland ejbjar component to get it to handle non-windows builds. Make work with ejb-naming schemes Submitted by: Tom Palmer git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269517 13f79535-47bb-0310-9956-ffa450edef68 --- .../ant/taskdefs/optional/ejb/BorlandDeploymentTool.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java index 8e857f655..7383163e6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java @@ -110,7 +110,7 @@ public class BorlandDeploymentTool extends GenericDeploymentTool implements Exe protected static final String BAS_DD = "ejb-inprise.xml"; /** Java2iiop executable **/ - protected static final String JAVA2IIOP = "java2iiop.exe"; + protected static final String JAVA2IIOP = "java2iiop"; /** Verify class */ protected static final String VERIFY = "com.inprise.ejb.util.Verify"; @@ -218,7 +218,7 @@ public class BorlandDeploymentTool extends GenericDeploymentTool implements Exe File borlandDD = new File(getConfig().descriptorDir,BAS_DD); if (borlandDD.exists()) { log("Borland specific file found "+ borlandDD, Project.MSG_VERBOSE); - ejbFiles.put(META_DIR + BAS_DD, borlandDD); + ejbFiles.put(META_DIR + BAS_DD, ddPrefix + borlandDD); } else { log("Unable to locate borland deployment descriptor. It was expected to be in " +