| @@ -233,6 +233,7 @@ Mariusz Nowostawski | |||||
| Mark A. Ziesemer | Mark A. Ziesemer | ||||
| Mark DeLaFranier | Mark DeLaFranier | ||||
| Mark Hecker | Mark Hecker | ||||
| Mark Niggemann | |||||
| Mark R. Diggory | Mark R. Diggory | ||||
| Mark Salter | Mark Salter | ||||
| Markus Kahl | Markus Kahl | ||||
| @@ -22,6 +22,9 @@ Other changes: | |||||
| override the current time/date used by <tstamp>. | override the current time/date used by <tstamp>. | ||||
| Bugzilla Report 61079 | Bugzilla Report 61079 | ||||
| * added Orion support to ejbjar | |||||
| Github Pull Request #33 | |||||
| Changes from Ant 1.9.8 TO Ant 1.9.9 | Changes from Ant 1.9.8 TO Ant 1.9.9 | ||||
| =================================== | =================================== | ||||
| @@ -959,6 +959,10 @@ | |||||
| <middle>R.</middle> | <middle>R.</middle> | ||||
| <last>Diggory</last> | <last>Diggory</last> | ||||
| </name> | </name> | ||||
| <name> | |||||
| <first>Mark</first> | |||||
| <last>Niggemann</last> | |||||
| </name> | |||||
| <name> | <name> | ||||
| <first>Mark</first> | <first>Mark</first> | ||||
| <middle>A.</middle> | <middle>A.</middle> | ||||
| @@ -62,7 +62,7 @@ In general these tasks are specific to the particular vendor's EJB Server.</p> | |||||
| <li><a href="http://www.jboss.org/" target="_top"> | <li><a href="http://www.jboss.org/" target="_top"> | ||||
| JBoss 2.1</a> and above EJB servers</li> | JBoss 2.1</a> and above EJB servers</li> | ||||
| <li><a href="http://web.archive.org/web/20080516210506/http://www.ironflare.com/"> | <li><a href="http://web.archive.org/web/20080516210506/http://www.ironflare.com/"> | ||||
| Orion Application Server</a> 2.0</li> | |||||
| Orion Application Server</a> 2.0 <em>since 1.9.10</em></li> | |||||
| <li><a href="http://www.bea.com" target="_top">Weblogic</a> | <li><a href="http://www.bea.com" target="_top">Weblogic</a> | ||||
| 4.5.1 through to 7.0 EJB servers</li> | 4.5.1 through to 7.0 EJB servers</li> | ||||
| <li><a href="http://www.objectweb.org/jonas/" target="_top">JOnAS</a> | <li><a href="http://www.objectweb.org/jonas/" target="_top">JOnAS</a> | ||||
| @@ -1789,7 +1789,7 @@ to the final ejb jar file. Orion has one deployment descriptor: | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td valign="top">destdir</td> | <td valign="top">destdir</td> | ||||
| <td valign="top">The base directory into which the generated | |||||
| <td valign="top">The base directory into which the generated | |||||
| jar files are deposited. Jar files are deposited in | jar files are deposited. Jar files are deposited in | ||||
| directories corresponding to their location within the | directories corresponding to their location within the | ||||
| descriptordir namespace. </td> | descriptordir namespace. </td> | ||||
| @@ -226,6 +226,7 @@ public class EjbJar extends MatchingTask { | |||||
| * deployment tool for Orion server. | * deployment tool for Orion server. | ||||
| * | * | ||||
| * @return the deployment tool instance to be configured. | * @return the deployment tool instance to be configured. | ||||
| * @since Ant 1.9.10 | |||||
| */ | */ | ||||
| public OrionDeploymentTool createOrion() { | public OrionDeploymentTool createOrion() { | ||||
| OrionDeploymentTool tool = new OrionDeploymentTool(); | OrionDeploymentTool tool = new OrionDeploymentTool(); | ||||
| @@ -23,19 +23,18 @@ import java.util.Hashtable; | |||||
| import org.apache.tools.ant.Project; | import org.apache.tools.ant.Project; | ||||
| /** | /** | ||||
| * The deployment tool to add the orion specific deployment descriptor to the | |||||
| * ejb jar file. Orion only requires one additional file orion-ejb-jar.xml | |||||
| * The deployment tool to add the orion specific deployment descriptor to the | |||||
| * ejb jar file. Orion only requires one additional file orion-ejb-jar.xml | |||||
| * and does not require any additional compilation. | * and does not require any additional compilation. | ||||
| * | * | ||||
| * @author <a href="mailto:mark.niggemann@ge.com">Mark Niggemann</a> | |||||
| * @version 1.0 | |||||
| * @since Ant 1.9.10 | |||||
| * @see EjbJar#createOrion | * @see EjbJar#createOrion | ||||
| */ | */ | ||||
| public class OrionDeploymentTool extends GenericDeploymentTool { | public class OrionDeploymentTool extends GenericDeploymentTool { | ||||
| protected static final String ORION_DD = "orion-ejb-jar.xml"; | protected static final String ORION_DD = "orion-ejb-jar.xml"; | ||||
| /** Instance variable that stores the suffix for the jboss jarfile. */ | /** Instance variable that stores the suffix for the jboss jarfile. */ | ||||
| private String jarSuffix = ".jar"; | private String jarSuffix = ".jar"; | ||||
| @@ -47,14 +46,14 @@ public class OrionDeploymentTool extends GenericDeploymentTool { | |||||
| protected void addVendorFiles(Hashtable ejbFiles, String baseName) { | protected void addVendorFiles(Hashtable ejbFiles, String baseName) { | ||||
| String ddPrefix = (usingBaseJarName() ? "" : baseName ); | String ddPrefix = (usingBaseJarName() ? "" : baseName ); | ||||
| File orionDD = new File(getConfig().descriptorDir, ddPrefix + ORION_DD); | File orionDD = new File(getConfig().descriptorDir, ddPrefix + ORION_DD); | ||||
| if (orionDD.exists()) { | if (orionDD.exists()) { | ||||
| ejbFiles.put(META_DIR + ORION_DD, orionDD); | ejbFiles.put(META_DIR + ORION_DD, orionDD); | ||||
| } else { | } else { | ||||
| log("Unable to locate Orion deployment descriptor. It was expected to be in " + orionDD.getPath(), Project.MSG_WARN); | log("Unable to locate Orion deployment descriptor. It was expected to be in " + orionDD.getPath(), Project.MSG_WARN); | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||