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 37602 invoked from network); 5 Jul 2000 16:15:22 -0000 Received: from fep8.mail.ozemail.net (203.2.192.102) by locus.apache.org with SMTP; 5 Jul 2000 16:15:22 -0000 Received: from cognetnt (1Cust36.tnt3.syd2.da.uu.net [63.12.2.36]) by fep8.mail.ozemail.net (8.9.0/8.6.12) with SMTP id CAA09639 for ; Thu, 6 Jul 2000 02:15:14 +1000 (EST) From: "Conor MacNeill" To: Subject: RE: Optional EJB tasks (was RE: Subpackages of ...taskdefs.optional) Date: Thu, 6 Jul 2000 02:14:00 +1000 Message-ID: <001801bfe69c$07a42db0$80dc1fcb@cognet.com.au> 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 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Tim, Thanks for your code. I have committed my 4.5.1 tasks and I will look at committing your task in the next few days. Conor > -----Original Message----- > From: Tim Fennell [mailto:tfenne@rcn.com] > Sent: Wednesday, 5 July 2000 21:28 > To: ant-dev@jakarta.apache.org > Subject: RE: Optional EJB tasks (was RE: Subpackages of > ...taskdefs.optional) > > > Okay, here is the code. I hope people don't mind the attachment, but it's > quite large! > > If this is useful to anyone, I'd love some feedback on the utility of some > things I am thinking of doing with it: > > - Change from having the main class implement DocumentHandler to having an > inner class and using the javax.xml pluggability instead of > org.xml.sax.helper... > - Splitting into two classes: main EJB1.1 scanner with a callback Task > mechanism for registering the appserver(s) proprietary tools, this way the > bulk of the work, assembling the jar in the first place, could be used by > any EJB1.1. task. Any better ideas? > - Changing the naming standard reliance for the WL descriptors (right now, > must be beanName-weblogic-ejb-jar.xml) to be based on the original > deployment descriptor with some simply pattern matching (e.g. you > specificy > upto the first '-' or something like that). This would allow more flexible > naming, and also package or multi-package jars not just single-bean jars. > > -t > > ps. This is the task from my current build.xml: > > > destdir="${destDir}" > includes="${ejbdds}" > excludes="${wldds}" > generateweblogic="true" > keepgeneric="true" > genericjarsuffix="-temp.jar" > weblogicjarsuffix="-wl.jar"/> > > > -----Original Message----- > From: Wolfgang Werner [mailto:wwerner@picturesafe.de] > Sent: Wednesday, July 05, 2000 07:11 > To: ant-dev@jakarta.apache.org > Subject: AW: Optional EJB tasks (was RE: Subpackages of > ...taskdefs.optional) > > > > On the topic of EJB tasks, has anyone written anything for EJB1.1 and/or > > Weblogic 5.1? > > > > If not, then I'd like to offer up what I have. I hava an EJB task that > > inherits from directory scanner, scans for deployment descriptors and > > assembles the EJB1.1 jars from the contents of the descriptor > > (XML only, not > > the 1.0 serialized classes), then optionally calls weblogic's > ejbc. Works > > very well for me, and now I can have only one task for all of > my EJBs. It > > should also be really easy to extend to call other vendors' compilers. > > > > Is there any interest? If so then I'll post the code here (I > > assume this is > > the right forum?). > Great! I'm working with WLS 5.1 and use currently only > java - tasks to assemple things. Please post your stuff! > > I'm sure that on this list are others who try to generate > a neutral EJB support task / and or working on simmilar > stuff. > > open source works! > > Wolfgang Werner > wwerner@picturesafe.de >