[forge-dev] shading!?

Lincoln Baxter, III lincolnbaxter at gmail.com
Mon Apr 11 15:45:23 EDT 2011


The AS7 module system seems like the way I would prefer to go, need to look
into that and see if it would be compatible with maven dependencies (or
possible to make that way with a little hackery.)

If anyone wants to look into this as well, I'd welcome the analysis.

I've added a JIRA to track progress on this effort:

https://issues.jboss.org/browse/SEAMFORGE-136

~Lincoln

On Mon, Apr 11, 2011 at 12:59 PM, Paul Bakker <paul.bakker.nl at gmail.com>wrote:

> That's what I mean by the module system in AS7 :-)
>
>
> On Mon, Apr 11, 2011 at 6:50 PM, Rodney Russ <rruss at redhat.com> wrote:
>
>> How about JBoss Modules?
>>
>> http://relation.to/16904.lace
>>
>> ----- "Paul Bakker" <paul.bakker.nl at gmail.com> wrote:
>>
>> > From: "Paul Bakker" <paul.bakker.nl at gmail.com>
>> > To: "forge-dev List" <forge-dev at lists.jboss.org>
>> > Sent: Monday, April 11, 2011 10:32:19 AM GMT -07:00 US/Canada Mountain
>> > Subject: Re: [forge-dev] shading!?
>> >
>> > The ultimate solution would be to use a completely isolated
>> > classloader for plugins and plugin dependencies so that plugins would
>> > even be able to package different versions of libraries that are also
>> > used by Forge. Running Forge in an OSGi container seems to be the
>> > obvious solution. I'm no OSGi expert though, so I can't really see the
>> > consequences. No idea if Weld still works within OSGi bundles for
>> > example, but it's something to consider. Besides OSGi there's the
>> > module system that's part of AS7, maybe that's another option.
>> >
>> >
>> > Paul
>> >
>> >
>> > On Mon, Apr 11, 2011 at 4:00 PM, Lincoln Baxter, III <
>> > lincolnbaxter at gmail.com > wrote:
>> >
>> >
>> > Yeah, shading is currently the recommended approach. Conflicts should
>> > be avoided by using relocations. I know this is... not a great method,
>> > but for now it's all we've got. Open to suggestions.
>> >
>> > ~Lincoln
>> >
>> >
>> >
>> >
>> >
>> > On Mon, Apr 11, 2011 at 3:41 AM, Max Rydahl Andersen <
>> > max.andersen at redhat.com > wrote:
>> >
>> >
>> > Heya,
>> >
>> > Lincoln, I just saw your commits to hibernattools plugin at (
>> >
>> https://github.com/forge/plugin-hibernate-tools/commit/8b208b4a8e79dbb8a01d10d266ee81afd2cf7106
>> > )
>> >
>> > Is shading of jars really the recommended approach for plugins in
>> > Forge ?
>> >
>> > How are you going to share/avoid collisions of libraries across
>> > plugins if they need to bundle via shading ?
>> >
>> > /max
>> > http://about.me/maxandersen
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > forge-dev mailing list
>> > forge-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>> >
>> >
>> >
>> > --
>> > Lincoln Baxter, III
>> > http://ocpsoft.com
>> > http://scrumshark.com
>> > "Keep it Simple"
>> >
>> > _______________________________________________
>> > forge-dev mailing list
>> > forge-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>> >
>> >
>> >
>> > _______________________________________________
>> > forge-dev mailing list
>> > forge-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20110411/350d38cb/attachment-0001.html 


More information about the forge-dev mailing list