ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <stephane.baill...@haht.com>
Subject RE: custom task & 'untouched' xml from build file
Date Fri, 21 Jun 2002 16:02:24 GMT
> -----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>


Mime
View raw message