[xbean-dev] minimum spring version

View: New views
9 Messages — Rating Filter:   Alert me  

[xbean-dev] minimum spring version

by Dan Diephouse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
Is there a minimum required version of Spring for XBean to work? Does it
only work with 1.2.4 or do will it work with 1.2.x?
Cheers

--
Dan Diephouse
Envoi Solutions LLC
http://netzooid.com


Re: [xbean-dev] minimum spring version

by Dan Diephouse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dan Diephouse wrote:

> Hi all,
> Is there a minimum required version of Spring for XBean to work? Does
> it only work with 1.2.4 or do will it work with 1.2.x?
> Cheers
>
Also, what do people think of creating a spring+xbean jar? Currently
using xbean requires my users to download 4 more jars... xbean,
spring-core, spring-beans, spring-context...

I think the m2 assembly plugin could be used to do this???

- Dan

--
Dan Diephouse
Envoi Solutions LLC
http://netzooid.com


Re: [xbean-dev] minimum spring version

by jstrachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 4 Nov 2005, at 20:58, Dan Diephouse wrote:

> Dan Diephouse wrote:
>
>> Hi all,
>> Is there a minimum required version of Spring for XBean to work?  
>> Does it only work with 1.2.4 or do will it work with 1.2.x?
>> Cheers
>>
> Also, what do people think of creating a spring+xbean jar?  
> Currently using xbean requires my users to download 4 more jars...  
> xbean, spring-core, spring-beans, spring-context...
>
> I think the m2 assembly plugin could be used to do this???

BTW before m2 I've been using xbean-spring-2.0-SNAPSHOT.jar fine;  
though the move to m2 might have made us more coupled than we might be.

James
-------
http://radio.weblogs.com/0112098/


Re: [xbean-dev] minimum spring version

by jstrachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 4 Nov 2005, at 17:20, Dan Diephouse wrote:

> Hi all,
> Is there a minimum required version of Spring for XBean to work?  
> Does it only work with 1.2.4 or do will it work with 1.2.x?

It should work with 1.2.x though its not been tested yet on anything  
else other than 1.2.4. There could well have been some minor changes  
in the spring XML parser since 1.2 that we might be dependant on; so  
I'd recommend using 1.2.4 or later if you can.

James
-------
http://radio.weblogs.com/0112098/


Re: [xbean-dev] minimum spring version

by Dan Diephouse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jastrachan@... wrote:

>
> On 4 Nov 2005, at 20:58, Dan Diephouse wrote:
>
>> Dan Diephouse wrote:
>>
>>> Hi all,
>>> Is there a minimum required version of Spring for XBean to work?  
>>> Does it only work with 1.2.4 or do will it work with 1.2.x?
>>> Cheers
>>>
>> Also, what do people think of creating a spring+xbean jar?  Currently
>> using xbean requires my users to download 4 more jars...  xbean,
>> spring-core, spring-beans, spring-context...
>>
>> I think the m2 assembly plugin could be used to do this???
>
>
> BTW before m2 I've been using xbean-spring-2.0-SNAPSHOT.jar fine;  
> though the move to m2 might have made us more coupled than we might be.

I think I might not have been clear. I was thinking about making one
single jar that contained both xbean-spring, spring-core, spring-beans,
and spring-context - all the deps necessary to use xbean-spring.
Prevents jar hell for users who aren't using maven. WDYT?

- Dan

--
Dan Diephouse
Envoi Solutions LLC
http://netzooid.com


Re: [xbean-dev] minimum spring version

by jstrachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 7 Nov 2005, at 17:55, Dan Diephouse wrote:

> jastrachan@... wrote:
>
>>
>> On 4 Nov 2005, at 20:58, Dan Diephouse wrote:
>>
>>> Dan Diephouse wrote:
>>>
>>>> Hi all,
>>>> Is there a minimum required version of Spring for XBean to  
>>>> work?  Does it only work with 1.2.4 or do will it work with 1.2.x?
>>>> Cheers
>>>>
>>> Also, what do people think of creating a spring+xbean jar?  
>>> Currently using xbean requires my users to download 4 more  
>>> jars...  xbean, spring-core, spring-beans, spring-context...
>>>
>>> I think the m2 assembly plugin could be used to do this???
>>
>>
>> BTW before m2 I've been using xbean-spring-2.0-SNAPSHOT.jar fine;  
>> though the move to m2 might have made us more coupled than we  
>> might be.
>
> I think I might not have been clear. I was thinking about making  
> one single jar that contained both xbean-spring, spring-core,  
> spring-beans, and spring-context - all the deps necessary to use  
> xbean-spring. Prevents jar hell for users who aren't using maven.  
> WDYT?

Ah I get it :)

Great idea! :)

James
-------
http://radio.weblogs.com/0112098/


Re: [xbean-dev] minimum spring version

by Dain Sundstrom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov 7, 2005, at 12:59 AM, jastrachan@... wrote:

>
> On 4 Nov 2005, at 20:58, Dan Diephouse wrote:
>
>> Dan Diephouse wrote:
>>
>>> Hi all,
>>> Is there a minimum required version of Spring for XBean to work?  
>>> Does it only work with 1.2.4 or do will it work with 1.2.x?
>>> Cheers
>>>
>> Also, what do people think of creating a spring+xbean jar?  
>> Currently using xbean requires my users to download 4 more jars...  
>> xbean, spring-core, spring-beans, spring-context...
>>
>> I think the m2 assembly plugin could be used to do this???
>
> BTW before m2 I've been using xbean-spring-2.0-SNAPSHOT.jar fine;  
> though the move to m2 might have made us more coupled than we might  
> be.

The m2 assembly plugin can easily do this.  We just need to have an  
exact packing list for the jar.

I'll try to get something started later today.

-dain

Re: [xbean-dev] minimum spring version

by Jason van Zyl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 2005-11-07 at 12:55 -0500, Dan Diephouse wrote:

> I think I might not have been clear. I was thinking about making one
> single jar that contained both xbean-spring, spring-core, spring-beans,
> and spring-context - all the deps necessary to use xbean-spring.
> Prevents jar hell for users who aren't using maven. WDYT?

It's certainly easy enough to do with the assembly plug-in.

> - Dan
>
--
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


Re: [xbean-dev] minimum spring version

by Dan Diephouse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dain Sundstrom wrote:

> On Nov 7, 2005, at 12:59 AM, jastrachan@... wrote:
>
>>
>> On 4 Nov 2005, at 20:58, Dan Diephouse wrote:
>>
>>> Dan Diephouse wrote:
>>>
>>>> Hi all,
>>>> Is there a minimum required version of Spring for XBean to work?  
>>>> Does it only work with 1.2.4 or do will it work with 1.2.x?
>>>> Cheers
>>>>
>>> Also, what do people think of creating a spring+xbean jar?  
>>> Currently using xbean requires my users to download 4 more jars...  
>>> xbean, spring-core, spring-beans, spring-context...
>>>
>>> I think the m2 assembly plugin could be used to do this???
>>
>>
>> BTW before m2 I've been using xbean-spring-2.0-SNAPSHOT.jar fine;  
>> though the move to m2 might have made us more coupled than we might  be.
>
>
> The m2 assembly plugin can easily do this.  We just need to have an  
> exact packing list for the jar.
>
> I'll try to get something started later today.
>
> -dain

Great. I think my spring dependency list should be OK, but YMMV. Of
course depending on how you're using things, other spring jars might be
necessary like spring-aop. And at that point it almost makes sense to
included all the spring stuff...

--
Dan Diephouse
Envoi Solutions LLC
http://netzooid.com

LightInTheBox - Buy quality products at wholesale price!