On Thu, 2002-07-11 at 19:07, Jon Scott Stevens wrote:
> on 7/11/02 2:38 PM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:
> 
> > Look at the message on the commons for the reason why I did it that way.
> > 
> > I don't like it either. But for the build to work out of the box with
> > nothing having to be done by the user then that's the only way to do it.
> > 
> > If, in the commons, we agreed that maven.repo.local (was lib.repo) is a
> > 'common' thing then the ant build can be generated accordingly. I didn't
> > want to assume anything by the user due to the outbreak of whining on
> > the commons list.
> 
> #1. Check to see if there is a maven.repo.local
> #2. If true, then copy .jar file from maven.repo.local to project/lib
> #3. If false, then copy .jar file from website to project/lib

If someone has a maven.repo.local then I think Maven's normal mode of
operation would execute. Bring down the missing jars and put them in the
repository and create the classpath from the JARs in situ. This can be
done with the normal ant tasks. No point in copying them around. If they
don't have maven.repo.local then they get everything in the /lib
directory.
 
> No need to waste bandwidth.

Nope. It was a first cut to try and make the vanilla ant build's work.
But I can certainly check for the repository.

> Also, I have noticed that .jar files which have not changed get downloaded
> multiple times. What is up with that? Is the date checking off?

Not sure what's going with the timestamps, the checking is on and JARs
don't come down repeatedly for me but Stephane has noted the same
problem as you. The timestamp is supposed to be GMT so I imagine
something isn't sync'd somewhere. Very likely it's my machine :-)

> -jon
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to