We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Top 15 Ant Best Practices
|
| Subject: |
|
number 14: how? |
| Date: |
|
2005-04-08 08:47:03 |
| From: |
|
mhorowitz
|
|
|
|
The ant build system I work with most of the time is constantly rebuilding things. Is there an easy way to avoid this? <uptodate> gets evaluated before any of the targets, which means that something later in the build can appear up to date when it's not. I can use a <mapper> with an <apply> task, but not with a <java> task. This is going to be a controversial comment, but one thing make sure gets better than ant is declaring what files are inputs and outputs of a rule. |