Author Login
Post Reply
Thank you, your tip was successful.
Wicki
----- Original Message -----
From: "Peter Niederwieser" <pniederw@(protected)>
To: <user@(protected)>
Sent: Friday, September 03, 2010 3:46 PM
Subject: [groovy-user] Re: groovy-interpreter ignores jar-file ?
>
> If the groovy command ignored the Jar, you'd get an error on startup
> saying
> that class Logger can't be found. I suspect that the class path you use
> with
> the groovy command doesn't contain a log4j.properties and therefore
> nothing
> is logged. Either copy log4j.properties to the current working dir (which
> is
> on your class path), or set it explicitly with:
> groovy -cp .;lib\log4j-1.2.8.j
> -Dlog4j.configuration=path/to/log4j.properties MyApp
>
> Cheers,
> Peter
> --
> View this message in context:
> http://groovy.329449.n5.nabble.com/groovy-interpreter-ignores-jar-file-tp2802038p2802203.html
> Sent from the groovy - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email