ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <>
Subject Implementing check into tasks
Date Fri, 27 Jul 2001 14:09:03 GMT
javac and jar check existence of files before running, whereas javadoc 
doesn't. Avoiding unnecessary processing requires using a dedicated check 
target with a uptodate task.
On the same idea, creating a tar.gz archive requires a tar, a gz, and then a 
delete task. Running the target a second time check for the tar file, and 
exec again as it is absent. Once again, a check in a dedicated target could 
be used.
In both cases, having to rely on custom check is rather ugly. Why not include 
an automatic check in javadoc task, and create a full tar.gz task ?
Guillaume Rousse <>
GPG key

View raw message