Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25778 invoked by uid 500); 13 Aug 2003 20:40:38 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 25699 invoked from network); 13 Aug 2003 20:40:37 -0000 Received: from plmler3.mail.eds.com (199.228.142.73) by daedalus.apache.org with SMTP; 13 Aug 2003 20:40:37 -0000 Received: from plmlir1.mail.eds.com (plmlir1-2.mail.eds.com [199.228.142.131]) by plmler3.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h7DKegD22427 for ; Wed, 13 Aug 2003 15:40:42 -0500 Received: from plmlir1.mail.eds.com (localhost [127.0.0.1]) by plmlir1.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h7DKehI27940 for ; Wed, 13 Aug 2003 16:40:43 -0400 Received: from usplm101.exsc01.exch.eds.com (USPLM101.txpln.us.eds.com [198.132.135.14]) by plmlir1.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h7DKehi27934 for ; Wed, 13 Aug 2003 16:40:43 -0400 Received: by USPLM101.txpln.us.eds.com with Internet Mail Service (5.5.2656.59) id ; Wed, 13 Aug 2003 15:40:42 -0500 Message-ID: <7A57F750AF65D411949C00508BDFD8181E1C6552@USPLM202> From: "Lopez, William" To: Ant Users List Subject: RE: build.xml snippet used from code Date: Wed, 13 Aug 2003 15:40:41 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Doh, sorry. That's beyond my scope of comprehension of Ant...I'm still green :-) -----Original Message----- From: Matt Benson [mailto:gudnabrsam@yahoo.com] Sent: Wednesday, August 13, 2003 1:58 PM To: Ant Users List Subject: RE: build.xml snippet used from code I have used entity includes and that serves its purpose. However, my question was how to get similar functionality from the context of a Java class. Thanks, Matt --- "Lopez, William" wrote: > I hope I understand your question correctly...in my > case I have 18 EJB > projects that each have their own build xml file > they look like this: > > > "../../../common/ejb_common.xml"> > ]> > basedir="."> > location="${src.base}\BillReviewBERefEJS"/> > location="${srcroot}\ejbModule"/> > location="${ejb.build.dir}\BillReviewBERefEJS\bin"/> > > > value="BillReviewBERefEJS.jar"/> > &classpath; > &ejb; > > > All 18 projects share the contents of ejb_common.xml > & cp_common.xml. I > would think you would have your task in an xml file > and refer to it in an > Entity reference in how many other build files you > have. > > -Will > > -----Original Message----- > From: Matt Benson [mailto:gudnabrsam@yahoo.com] > Sent: Wednesday, August 13, 2003 1:44 PM > To: Ant Users List > Subject: build.xml snippet used from code > > > This is just a lazy question, but has anyone ever > figured a way to process an entity from an XML > snippet > from a custom task, for example? Specifically, I > have > a filterchain doing exactly what I want it to, and > wouldn't it be easier to set it up from the XML I've > already written than to re-code by hand? Of course, > I > will probably have that code written by the time any > response comes through, but maybe some other > application for this concept exists for which the > alternative would be much more cumbersome. > > -Matt > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org