Browse Source

Toplink element is no longer required. The standard weblogic element

can handle toplink based beans and has done so for a while


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272241 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 23 years ago
parent
commit
5ec38ccd3f
2 changed files with 9 additions and 0 deletions
  1. +6
    -0
      docs/manual/OptionalTasks/ejb.html
  2. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java

+ 6
- 0
docs/manual/OptionalTasks/ejb.html View File

@@ -1007,6 +1007,12 @@ are useful when setting up class paths using reference Ids.</p>

<h3>TOPLink for Weblogic element</h3>

<p><b><i>Deprecated</i></b></p>

<p>The toplink element is no longer required. Toplink beans can now be built with the standard
weblogic element, as long as the newCMP attribute is set to &quot;true&quot;
</p>

<p>The TopLink element is used to handle beans which use Toplink for the CMP operations. It
is derived from the standard weblogic element so it supports the same set of attributes plus these
additional attributes</p>


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

@@ -352,6 +352,9 @@ public class EjbJar extends MatchingTask {
* @return the deployment tool instance to be configured.
*/
public WeblogicTOPLinkDeploymentTool createWeblogictoplink() {
log("The <weblogictoplink> element is no longer required. Please use "
+ "the <weblogic> element and set newCMP=\"true\"",
Project.MSG_INFO);
WeblogicTOPLinkDeploymentTool tool
= new WeblogicTOPLinkDeploymentTool();
tool.setTask(this);


Loading…
Cancel
Save