Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 61209 invoked from network); 9 Jan 2001 01:37:55 -0000 Received: from cortex-gw.magna.com.au (HELO smtp.cortexebusiness.com.au) (203.174.140.214) by h31.sny.collab.net with SMTP; 9 Jan 2001 01:37:55 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id f091c1i07376 for ; Tue, 9 Jan 2001 12:38:01 +1100 (EST) Received: from UNKNOWN(192.168.1.8), claiming to be "monkey.prod.thespot.com.au" via SMTP by ripley, id smtpdAAAKFaOto; Tue Jan 9 12:34:58 2001 Received: (from daemon@localhost) by monkey.prod.thespot.com.au (8.10.0/8.10.0) id f091YvL07201 for ; Tue, 9 Jan 2001 12:34:58 +1100 (EST) Received: from UNKNOWN(192.168.1.9), claiming to be "chunky.devl.ebinteractive.com.au" via SMTP by monkey, id smtpdAAAkkaqdo; Tue Jan 9 12:34:57 2001 Received: from snotty (snotty.devl.ebinteractive.com.au [192.168.1.32]) by chunky.devl.ebinteractive.com.au (8.10.0/8.10.0) with SMTP id f091YuB17937 for ; Tue, 9 Jan 2001 12:34:56 +1100 (EST) From: "Conor MacNeill" To: Subject: RE: Weblogic 5.1 EJB Deployment Descriptor enhancement proposal Date: Tue, 9 Jan 2001 12:35:43 +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: <2D289E3974CBD311B45F00902789CD7BD5A951@flash.question.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Shawn, This has already been implemented in ant 1.3. For backwards compatibility, A new attribute has been introduced, oldCMP, which controls how ejbjar will determine the CMP deployment descriptor(s) to use. If you set oldCMP to false, it will parse the weblogic descriptor. If you have been using ejbjar with the old scheme, then changing oldCMP to false will also require you to update you weblogic deployment descriptor to give the "correct" name of the CMP descriptor. It was a good idea to ask :-) Cheers Conor -- Conor MacNeill conor@cortexebusiness.com.au Cortex eBusiness http://www.cortexebusiness.com.au -----Original Message----- From: McKisson, Shawn [mailto:shawn@question.com] Sent: Tuesday, 9 January 2001 12:29 To: 'ant-dev@jakarta.apache.org' Subject: Weblogic 5.1 EJB Deployment Descriptor enhancement proposal Visual Cafe (from the WebGain studio) tries to make the developers life easier by generating the deployment descriptors. Unfortunately, the manner in which it packages does not work well with ant. Any given jar file might contain the following deployment descriptors 1 ejb-jar.xml 1 weblogic-ejb-jar.xml X weblogic-cmp-rdbms-jarX.jar files (not counting the first, which is just weblogic-cmp-rdbms-jar.xml) We have custom hacked ant 1.2 to accomplish what we need by forcing a copy of weblogic-cmp-rdbms-jar[1-9].xml to location where ejbc can find it, but this is not at all elegant. After reading some relevant posts in the ant-dev group, I decided that I wanted to implement one of the nicer proposals listed there. The one I am going to choose will parse weblogic-ejb-jar.xml extract determine exactly which deployment descriptors should be included when copying files. However, I don't want to duplicate work that someone else is doing, so I am posting here in order to determine if someone else has already begun work towards resolving this issue. --shawn