Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 57252 invoked from network); 18 Feb 2001 06:45:36 -0000 Received: from cortex-gw.magna.com.au (HELO smtp.cortexebusiness.com.au) (203.174.140.214) by h31.sny.collab.net with SMTP; 18 Feb 2001 06:45:36 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id f1I6jgv10404 for ; Sun, 18 Feb 2001 17:45:42 +1100 (EST) Received: from UNKNOWN(192.168.1.32), claiming to be "snotty" via SMTP by ripley, id smtpdAAAkSa48t; Sun Feb 18 17:45:40 2001 From: "Conor MacNeill" To: Subject: RE: ejbjar in 1.3b2 and newCMP Date: Sun, 18 Feb 2001 17:47:24 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <8022A77178C84548B49F5965D38776C8010DE4@wopr.ware2.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Frank, > My second question is regarding the newCMP flag in ejbjar task. > Whenever I turn it on, it seems to try to look for weblogic-cmp-rdbms-jar.xml > file instead of the -weblogic-cmp-rdbms-jar.xml. Should I be > using only ONE rdbms config file for all my beans? or can I have one for > each bean? Any help would be appreciated. Thanks in advance! I have tried to address this in the updated ejbjar documentation. The following is a section from that: The weblogic element is used to control the weblogic.ejbc compiler for generating weblogic EJB jars. Prior to Ant 1.3, the method of locating CMP descriptors was to use the ejbjar naming convention. So if your ejb-jar was called, Customer-ejb-jar.xml, your weblogic descriptor was called Customer- weblogic-ejb-jar.xml and your CMP descriptor had to be Customer-weblogic-cmp- rdbms-jar.xml. In addition, the element in the weblogic descriptor had to be set to the standard name META-INF/weblogic-cmp-rdbms- jar.xml, as that is where the CMP descriptor was mapped to in the generated jar. There are a few problems with this scheme. It does not allow for more than one CMP descriptor to be defined in a jar and it is not compatible with the deployment descriptors generated by some tools. In Ant 1.3, ejbjar parses the weblogic deployment descriptor to discover the CMP descriptors, which are then included automatically. This behaviour is controlled by the newCMP attribute. Note that if you move to the new method of determining CMP descriptors, you will need to update your weblogic deployment descriptor's element. In the above example, you would define this as META-INF/Customer-weblogic-cmp-rdbms-jar.xml. Conor