the "uber-jar" is only concerning wicket, not any war bundle. while it
would be of course "nicer" to have all wicket jars as separate bundles
available out of the box. but one solution I find quite ok is creating
one bundle out of core, request and util. this will then be a uber-jar
that brings wicket into the osgi mix. It's just containing the core
packages of wicket. 

I think the different jars help the wicket developers to cleaner
dependencies (when creating a class the dependencies make you think
about where to put it, so you don't create a RequestClass in the core
package/module, for example) -- please correct me if this is wrong. 

But from the client or user point of view, the jars wicket-core,util and
request are all kind of core modules. You'll need them all (I think) to
use wicket. this makes it in my opinion ok to use the one big wicket
jar. all others (auth-roles etc) are still separate bundles.

regards
Eike


On [Mon, 25.04.2011 19:08], Daniele Dellafiore wrote:
> Are you referring to this conversation?
> http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-rc2-and-aggregate-jar-for-osgi-td3356667.html
> 
> If so, I read it and answered that I'm not interested in any solution that
> involves the uber-jar. I do not see any advantage in that solution over a
> normal war.
> 
> I do not find any other advice from you and Eike, maybe you can point me out
> the right conversation.
> 
> 
> On Mon, Apr 25, 2011 at 6:25 PM, Martin Grigorov <mgrigo...@apache.org>wrote:
> 
> > Hi Daniele,
> >
> > Me and later Eike explained to you in the other thread you started few
> > months ago how to solve exactly this problem.
> > It seems you didn't read it at all. Please read again the part
> > mentioning Wicket 1.5 RC1.
> >
> > On Mon, Apr 25, 2011 at 6:30 PM, Daniele Dellafiore
> > <dani...@dellafiore.net> wrote:
> > > I did it. Yes, the tough way but I did it.
> > > Now the 1.5RC3 quickstart app just started on my karaf 2.2 with the
> > > 1.5-SNAPSHOT I built.
> > >
> > > Basically I renamed the .util and .request packages in -core bundle to be
> > > .core.util and .core.request.
> > > I had to make a class public in another package under -request bundle to
> > > make it visible, but it's a minor thing.
> > >
> > > I open a bug on jira now... wow, is down :) well, as soon as it get back
> > > online.
> > >
> > > On Mon, Apr 25, 2011 at 4:03 PM, Daniele Dellafiore
> > > <dani...@dellafiore.net>wrote:
> > >
> > >> it is not.
> > >>
> > >> I'm hacking on the trunk to make that work.
> > >> Maybe a quick solution is just change org.apache.wicket to
> > >> org.apache.wicket.core in the -core bundle.
> > >>
> > >> Of course there are some default scope classes that works through
> > different
> > >> packages but I can just make them public for now.
> > >>
> > >> On Mon, Apr 25, 2011 at 3:18 PM, James Carman <
> > ja...@carmanconsulting.com>wrote:
> > >>
> > >>> On Mon, Apr 25, 2011 at 10:15 AM, Daniele Dellafiore <
> > ilde...@gmail.com>
> > >>> wrote:
> > >>> >
> > >>> > I think that the wicket package layout should be changed now that
> > -util
> > >>> and
> > >>> > -request bundles have been detached from -core.
> > >>> >
> > >>>
> > >>> From an OSGi perspective, we should probably try to make sure that
> > >>> packages don't span jar files.  Everything in
> > >>> org.apache,wicket.request should be in wicket-request.jar, for
> > >>> example.  I don't know if that's the case, currently or not.
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > >>> For additional commands, e-mail: users-h...@wicket.apache.org
> > >>>
> > >>>
> > >>
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >

-- 
email: e...@eknet.org   https://www.eknet.org  pgp: 481161A0

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to