From 0eba6abe79f16ebd88deb70491d23ca081f9ce7d Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Sun, 16 Feb 2003 13:30:37 +0000 Subject: [PATCH] Add suffix support for ejbjar jboss element PR: 14959 Submitted by: Jesse Stockall git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274084 13f79535-47bb-0310-9956-ffa450edef68 --- .../ant/taskdefs/optional/ejb/JbossDeploymentTool.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JbossDeploymentTool.java b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JbossDeploymentTool.java index f03ae2ab4..957b09014 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JbossDeploymentTool.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JbossDeploymentTool.java @@ -73,6 +73,14 @@ public class JbossDeploymentTool extends GenericDeploymentTool { /** Instance variable that stores the suffix for the jboss jarfile. */ private String jarSuffix = ".jar"; + /** + * Setter used to store the suffix for the generated JBoss jar file. + * @param inString the string to use as the suffix. + */ + public void setSuffix(String inString) { + jarSuffix = inString; + } + /** * Add any vendor specific files which should be included in the * EJB Jar.