dev@glassfish.java.net

Re: [GFv3] Unstable build: don't refresh your workspace now

From: <Jan.Luehe_at_Sun.COM>
Date: Mon, 07 Jul 2008 19:10:44 -0700

Thanks, Sahoo!

This is working now, after rebuilding the JSP project, as you had
suggested.

I remember removing my .m2 dir because of other build issues, and I
believe I did this after having built the JSP project with the correct
hk2 version.

Jan


Sahoo wrote:

> Jan,
>
> Thanks for attaching the log. The real problem is this (taken from
> error.txt youhad sent):
>
> /org.osgi.framework.BundleException: Unresolved package in bundle 167:
> module;
> (&(bundle-symbolic-name=com.sun.enterprise.hk2)(bundle-version>=0.3.5)(bundle-version<=0.3.5))/
>
>
> It appears that one module is still referring to 0.3.5 version of hk2.
> I suspect it's the jsp-1.0-SNAPSHOT.jar, but to confirm that, please
> use the felix shell. The instructions are:
>
> 1. Run using `java -jar glassfish-10.0-SNAPSHOT.jar` only. We now stat
> the Felix shell by default, so no need to change any configuration.
> 2. On the console, you shall see a "->" like prompt. That's the Felix
> shell prompt.
> 3. Type the command called ps. You can type help to see list of
> available commands.
> 4. ps should tell you which bundle's id is 167.
>
> If it is indeed jsp.jar, then are you sure you built jsp project with
> -Dhk2.version=0.3.8. Can you please try building it again and using
> the new jar?
>
> Thanks,
> Sahoo (I will be offline for next 1.5 hours)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>