Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ant question



Rolf Howarth wrote:
Slightly off-topic, but I wonder if anyone can answer a quick Ant question? Most tasks within Ant are clever and "know" which are the output file(s) and which the input(s) so it knows whether the outputs are out of date and need to be rebuilt. However, I have a few external scripts and want to explicitly say "execute this task (or this target) only if file x is older than file y or if file x is missing", just like an old-fashioned makefile. I'm sure I'm missing something obvious but I can't immediately work out how to do this from the Ant manual.
Check following Ant tasks in manual:
antcall
available
condition
dependset
exec


-- Illya Kysil, team lead/senior software developer Java/C#/Delphi/C/C++/Forth/Assembler ------------------------------------------------------------------------- Shakespeare / King Henry IV GLENDOWER I can call spirits from the vasty deep. HOTSPUR Why, so can I, or so can any man; But will they come when you do call for them?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Ant question (From: Rolf Howarth <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.