For what it's worth, I was having the same issues, and I also had to
delete the existing jar file.

I wonder if the timestamp is (was) wrong for one of the jars on the repository?

On 11/29/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> Dennis Byrne wrote:
> > Weird.  I got this from ant.
> >
> > [get] Getting: http://www.ibiblio.org/maven/commons-
> > validator/jars/commons-validator-1.2.0.jar
> > [get] To: D:\npeUpdateActionListener\current\lib\commons-
> > validator.jar
> > [get] Not modified - so not downloaded
> >
> > which left me w/ the same old version.  I deleted the jar,
> > ran 'download-dependencies' again, and now I get the correct
> > one.
> >
>
> The ant task just compares the timestamp for the file on the webserver
> against the timestamp for the local jar you already have. If, for some
> reason, the timestamp on your local file is more recent then the jar
> won't be downloaded.
>
> There are all sorts of things that can update the timestamp of a file
> (copying it for one).
>
> This is another reason to move to Maven; maven handles this situation
> much more elegantly.
>
> Cheers,
>
> Simon
>

Reply via email to