On Mon, Dec 02, 2002 at 12:37:53AM +0100, Aslak Hellesřy wrote:
> Hi!
> 
> I have 2 problems:
> 
> 1)
> I'm running against Maven from CVS, and it seems Maven doesn't try to
> download jars anymore. Has anybody experienced this?

As I see in my maven.log it tries but fails - don't know why. There is some
noise here that maven has problems with the j2sdk1.4.1_01 (what I use), so
I take a wait and see position at the moment. Maven is in the middle of
the refactoring, so we were struggling with some half-baked code.

> 2)
> To be sure I tried to set maven.mode.online=true in my project.properties,
> but that gave me
> 
> java.lang.ClassCastException: java.lang.String
>         at
> org.apache.maven.jelly.MavenJellyContext.getOnline(MavenJellyContext.java:39
> 6)
>         at org.apache.maven.cli.App.checkOnline(App.java:434)
>         at org.apache.maven.cli.App.doMain(App.java:562)
>         at org.apache.maven.cli.App.main(App.java:1121)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.werken.forehead.Forehead.run(Forehead.java:543)
>         at com.werken.forehead.Forehead.main(Forehead.java:573)
> 
> Could this be because MavenJellyContext.getOnline() uses getVariable()
> instead of getBoolean() ?

Pass. Everything can be converted to String. I think booth error should
relate to some class loading problem.

> Cheers,
> Aslak
> 
incze

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

Reply via email to