ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: how to specify dependencies on additional files
Date Tue, 05 Jun 2001 21:05:25 GMT
See the <uptodate> task description in the user manual.

Diane

--- S Page <spage@macromedia.com> wrote:
> I'm using ant's style task.
> 
> If I update my style file or the "in" file, ant recreates my "out" file.
>  (GOOD)
> But my transformation takes an additional XML data file as a parameter,
> and my style file imports several other XSL files.
> 
> How do I tell ant that the target depends on these additional files?
> 
> I don't think mentioning a fileset inside the target will do what I
> want.
> 
> <!-- This target also depends on ${data_file} and some additional XSL
> files... -->
> <target name="product">
>     <style
>         destdir="UNUSED_BUG_1996_FILED"
>         style="master.xsl"
>         in="product_home_parts_list.xml"
>         out="${project.base}/home.html"
>         >
>         <param name="product_info" expression="${data_file}" />
>     </style>
> </target>
> 
> Thanks indeed,
> -- 
> =S Page  a www.macromedia.com site engineer
> 
>   http://www.w3.org/MarkUp/tims_editor
>   - Tim Berners-Lee's HTML browser back in 1991 !!


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message