ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caoilte O'Connor <li...@caoilte.org>
Subject Re: how to only do stuff if javac compiled something?
Date Sun, 16 Nov 2003 12:49:51 GMT
aaaah. "uptodate" might well be the task i was looking for. 
thanks for the pointer.

cheers

c


On Friday 14 November 2003 20:23, Matt Benson wrote:
> > need for? I'm starting to feel like I didn't think
> > my build
> > process through properly.
>
> In the beginning you said you had compile, test, and
> package tasks.  Did you mean targets?  A more
> "Ant-normal" way to do these things would probably
> involve each of these being separate targets, with
> dependencies.  Another target could be a dependency
> and contain an uptodate task that would set a property
> if the target files are up to date.  Assuming public
> classes where the class filename can be easily mapped
> from the java filename, this should give you roughly
> the equivalent of "what will javac compile?".  Then
> your test and package targets could be
> unless="src.uptodate"
>
> -Matt
>
>
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> ---------------------------------------------------------
>------------ To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org For additional commands,
> e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message