ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <>
Subject RE: build.xml snippet used from code
Date Wed, 13 Aug 2003 18:55:46 GMT
I hope I understand your question my case I have 18 EJB
projects that each have their own build xml file they look like this:
<?xml version="1.0"?>
<!DOCTYPE project [
       <!ENTITY classpath SYSTEM "../../../common/cp_common.xml">
       <!ENTITY ejb SYSTEM "../../../common/ejb_common.xml">
<project name="BEREFEJS" default="generate.ejb.jars" basedir=".">
  <property name="srcroot" location="${src.base}\BillReviewBERefEJS"/>  
  <property name="src" location="${srcroot}\ejbModule"/>
  <property name=""
  <property name="" value="BillReviewBERefEJS.jar"/> 
  <property name="" value="BillReviewBERefEJS.jar"/> 

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.


-----Original Message-----
From: Matt Benson [] 
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.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message