I've tried the following in Groovy Web Console (http://
groovyconsole.appspot.com/):
println Closure.getClassLoader()
println Closure.getPackage()
println Closure.getPackage().getImplementationVersion()
Output:
com.google.apphosting.runtime.security.userclassloa...@4bb369
package groovy.lang
If the classes are being loaded from UserClassLoader from a jar in your
WEB-INF/lib containing a manifest, they should get package information from
that manifest. If that's not what you're seeing, please file an issue in the
tracker for us with a simple reproducing webapp.
On Tue, Nov 24, 2009 at