Diane Holt wrote:
>
> --- David Corbin <[EMAIL PROTECTED]> wrote:
> > Can someone post an example of how to use this? I find the
> > documentation to be very sparse.
>
> I use it to prevent my parsers from rebuilding needlessly:
> <target name="chkParser">
> <uptodate property="parser.done"
> targetfile="${directory}/${chkfile}">
> <srcfiles dir="${directory}" includes="${jjfile}"/>
> </uptodate>
> </target>
> and here's the opening line of the target that depends on it:
> <target name="genParser" depends="chkParser" unless="parser.done">
>
> If the source file (foo.jj) is newer than the file it generates, the
> "genParser" target is run; otherwise, not.
>
> Hope this helps,
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
Yes, it does. My mistake was in the unless clause, where I was doing
"${parser.done}".
--
David Corbin
Mach Turtle Technologies, Inc.
http://www.machturtle.com
[EMAIL PROTECTED]