ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <>
Subject Re: better <get> behavior when disconnected
Date Sun, 18 Nov 2001 11:51:59 GMT
From: "Curt Arnold" <>

> > Now, what you seem to want instead is an option to only fetch a file if it
> > doesnt exist locally, not doing timestamp polling. Is that right?
> If I skip the download because the server wasn't available (or the user
> turned the off-line property on) and the file hasn't already been loaded
> then the downstream processes will fail with possibly misleading
> diagnostics.

Why don't you use the <available> task, then. You could just use
it to verify that all the files you need are there, in a target that
runs after the optional target for the <get>s task. 

If anyone is missing the build will fail gracefully.

Jose Alberto

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message