Browse Source

add since markers, add Mark to contributors

master
Stefan Bodewig 8 years ago
parent
commit
4e2e7d9614
6 changed files with 18 additions and 10 deletions
  1. +1
    -0
      CONTRIBUTORS
  2. +3
    -0
      WHATSNEW
  3. +4
    -0
      contributors.xml
  4. +2
    -2
      manual/Tasks/ejb.html
  5. +1
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java
  6. +7
    -8
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/OrionDeploymentTool.java

+ 1
- 0
CONTRIBUTORS View File

@@ -233,6 +233,7 @@ Mariusz Nowostawski
Mark A. Ziesemer
Mark DeLaFranier
Mark Hecker
Mark Niggemann
Mark R. Diggory
Mark Salter
Markus Kahl


+ 3
- 0
WHATSNEW View File

@@ -22,6 +22,9 @@ Other changes:
override the current time/date used by <tstamp>.
Bugzilla Report 61079

* added Orion support to ejbjar
Github Pull Request #33

Changes from Ant 1.9.8 TO Ant 1.9.9
===================================



+ 4
- 0
contributors.xml View File

@@ -959,6 +959,10 @@
<middle>R.</middle>
<last>Diggory</last>
</name>
<name>
<first>Mark</first>
<last>Niggemann</last>
</name>
<name>
<first>Mark</first>
<middle>A.</middle>


+ 2
- 2
manual/Tasks/ejb.html View File

@@ -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">
JBoss 2.1</a> and above EJB servers</li>
<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>
4.5.1 through to 7.0 EJB servers</li>
<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>
<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
directories corresponding to their location within the
descriptordir namespace. </td>


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

@@ -226,6 +226,7 @@ public class EjbJar extends MatchingTask {
* deployment tool for Orion server.
*
* @return the deployment tool instance to be configured.
* @since Ant 1.9.10
*/
public OrionDeploymentTool createOrion() {
OrionDeploymentTool tool = new OrionDeploymentTool();


+ 7
- 8
src/main/org/apache/tools/ant/taskdefs/optional/ejb/OrionDeploymentTool.java View File

@@ -23,19 +23,18 @@ import java.util.Hashtable;
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.
*
* @author <a href="mailto:mark.niggemann@ge.com">Mark Niggemann</a>
* @version 1.0
* @since Ant 1.9.10
* @see EjbJar#createOrion
*/

public class OrionDeploymentTool extends GenericDeploymentTool {
protected static final String ORION_DD = "orion-ejb-jar.xml";

/** Instance variable that stores the suffix for the jboss jarfile. */
private String jarSuffix = ".jar";
@@ -47,14 +46,14 @@ public class OrionDeploymentTool extends GenericDeploymentTool {
protected void addVendorFiles(Hashtable ejbFiles, String baseName) {
String ddPrefix = (usingBaseJarName() ? "" : baseName );
File orionDD = new File(getConfig().descriptorDir, ddPrefix + ORION_DD);
if (orionDD.exists()) {
ejbFiles.put(META_DIR + ORION_DD, orionDD);
} else {
log("Unable to locate Orion deployment descriptor. It was expected to be in " + orionDD.getPath(), Project.MSG_WARN);
return;
}
}

/**


Loading…
Cancel
Save