From 5ec38ccd3fa5458e1ffcee297682fd7bf9d1c68d Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Fri, 5 Apr 2002 14:37:45 +0000 Subject: [PATCH] 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 --- docs/manual/OptionalTasks/ejb.html | 6 ++++++ .../org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java | 3 +++ 2 files changed, 9 insertions(+) diff --git a/docs/manual/OptionalTasks/ejb.html b/docs/manual/OptionalTasks/ejb.html index 39d07dd44..63e06d334 100644 --- a/docs/manual/OptionalTasks/ejb.html +++ b/docs/manual/OptionalTasks/ejb.html @@ -1007,6 +1007,12 @@ are useful when setting up class paths using reference Ids.

TOPLink for Weblogic element

+

Deprecated

+ +

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 "true" +

+

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

diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java index eb7d19b45..8c866fa57 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java @@ -352,6 +352,9 @@ public class EjbJar extends MatchingTask { * @return the deployment tool instance to be configured. */ public WeblogicTOPLinkDeploymentTool createWeblogictoplink() { + log("The element is no longer required. Please use " + + "the element and set newCMP=\"true\"", + Project.MSG_INFO); WeblogicTOPLinkDeploymentTool tool = new WeblogicTOPLinkDeploymentTool(); tool.setTask(this);