You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Apache Wiki <wi...@apache.org> on 2006/02/15 20:48:44 UTC

[Ant Wiki] Update of "AntNewbies" by PhilWS

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.

The following page has been changed by PhilWS:
http://wiki.apache.org/ant/AntNewbies

------------------------------------------------------------------------------
  
  This will create the file every time which is not desirable.
  
+ ```Answer#15```
+ 
+ Use the uptodate task and a "timestamp file" (this could even be the ServiceVersion.java file itself) to determine whether any of the generated .class files (excluding ServiceVersion.class) are newer than this "timestamp file" and if so set a property that can be used as a condition on executing a target to re-create the ServiceVersion.java file (updating the "timestamp file" too if a separate file is used).
+ 

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