ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Erik.Ostermuel...@alltel.com>
Subject RE: custom task & 'untouched' xml from build file
Date Fri, 21 Jun 2002 16:07:44 GMT
Yes.  Keeping this more loosely coupled makes some sense.

'Appreciate everyone's input.

-----Original Message-----
From: Stephane Bailliez [mailto:stephane.bailliez@haht.com]
Sent: Friday, June 21, 2002 11:02 AM
To: Ant Users List
Subject: RE: custom task & 'untouched' xml from build file


> -----Original Message-----
> From: Erik.Ostermueller@alltel.com 
> 
> Thanks.  That is an option that I forgot about.
> 
> However, that complicates my plans to
> validate the test data against a schema.
> 
> Perhaps I could use XSL to preprocess the file,
> adding in the CDATA sections.

I would better externalize your test data from the tool used to run it..
Assuming you put all your test data withing a single external xml file
such
as:
<messages>
  <message name="test1">
   ...
  </message>
   ...
</messages>

Then you create an Ant task that is parsing the xml, get the messages
and
run the appropriate one.

Stephane

--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message