ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Style taks and destDir
Date Tue, 31 Oct 2000 15:43:28 GMT
>>>>> "OP" == Olivier Prouvost <olivier.prouvost@anyware-tech.com> writes:

 OP> It's strange to have a destDir argument... when using directly
 OP> xalan processor, I just give the -OUT file where I want to
 OP> produce my result... with a destDir what'll be the result file
 OP> name ?  Why not a destFile argument ?

Because <style> can handle a bunch of files at once. If you say 

<style basedir="src" destdir="dest" extension="html" includes="**/*.xml" />

it will generate dest/a/b/c.html out of src/a/b/c.xml and dest/d.html
out of src/d.xml and so on. All at the same pass.

Stefan

Mime
View raw message