How can I trigger an ant task only if input is newer than output? -


i have build process in java need use ant exec task launch external program. external program create sources based on abstract specification, i.e. kind of code generation.

how can exec task execute if input code generation newer output? i.e. when input has been modified after output last created?

use uptodate task set property , add if or unless property target contains exec task.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -