[BeanUtils] dependencies

5 messages Options
Embed this post
Permalink
Joonas Pulakka

[BeanUtils] dependencies

Reply Threaded More More options
Print post
Permalink
Hello,

I'm wondering what external dependencies BeanUtils actually has. On the main
page http://commons.apache.org/beanutils/ it's mentioned
that commons-beanutils.jar has an optional dependency on Collections. What
does "optional" mean? Here
http://commons.apache.org/beanutils/dependencies.html it additionally says
Logging is a dependency. And then, here is stated that both Collections and
Logging packages are a _requirement_:
http://commons.apache.org/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#overview.dependencies

Still, I've done some (very basic) successful experiments with BeanUtils
with neither Collections nor Logging on the Classpath. What's the deal?

Best Regards,
Joonas
Niall Pemberton

Re: [BeanUtils] dependencies

Reply Threaded More More options
Print post
Permalink
On Wed, Oct 28, 2009 at 10:44 AM, Joonas Pulakka <[hidden email]> wrote:
> Hello,
>
> I'm wondering what external dependencies BeanUtils actually has. On the main
> page http://commons.apache.org/beanutils/ it's mentioned
> that commons-beanutils.jar has an optional dependency on Collections. What
> does "optional" mean? Here

You need Commons Collections if you use any of the following classes:
    BeanMap
    BeanPredicate
    BeanPropertyValueChangeClosure
    BeanPropertyValueEqualsPredicate
    BeanToPropertyValueTransformer

> http://commons.apache.org/beanutils/dependencies.html it additionally says
> Logging is a dependency. And then, here is stated that both Collections and
> Logging packages are a _requirement_:
> http://commons.apache.org/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#overview.dependencies

That page is out of date wrt to Commons Collections - patches welcome

> Still, I've done some (very basic) successful experiments with BeanUtils
> with neither Collections nor Logging on the Classpath. What's the deal?

I'm surprised that you didn't have any issues without commons logging
since some of the core features of beanutils use them.

Niall


> Best Regards,
> Joonas
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Brent Worden-2

Re: [BeanUtils] dependencies

Reply Threaded More More options
Print post
Permalink
On Wed, Oct 28, 2009 at 6:03 AM, Niall Pemberton
<[hidden email]>wrote:

> On Wed, Oct 28, 2009 at 10:44 AM, Joonas Pulakka <[hidden email]>
> wrote:
> > Hello,
> >
> > I'm wondering what external dependencies BeanUtils actually has. On the
> main
> > page http://commons.apache.org/beanutils/ it's mentioned
> > that commons-beanutils.jar has an optional dependency on Collections.
> What
> > does "optional" mean? Here
>
> You need Commons Collections if you use any of the following classes:
>    BeanMap
>    BeanPredicate
>    BeanPropertyValueChangeClosure
>    BeanPropertyValueEqualsPredicate
>    BeanToPropertyValueTransformer
>
> > http://commons.apache.org/beanutils/dependencies.html it additionally
> says
> > Logging is a dependency. And then, here is stated that both Collections
> and
> > Logging packages are a _requirement_:
> >
> http://commons.apache.org/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#overview.dependencies
>
> That page is out of date wrt to Commons Collections - patches welcome
>
>
I took the liberty of checking in changes to the package.html.  Feel free to
critique.

Thanks,

Brent
Niall Pemberton

Re: [BeanUtils] dependencies

Reply Threaded More More options
Print post
Permalink
On Wed, Oct 28, 2009 at 3:45 PM, Brent Worden <[hidden email]> wrote:

> On Wed, Oct 28, 2009 at 6:03 AM, Niall Pemberton
> <[hidden email]>wrote:
>
>> On Wed, Oct 28, 2009 at 10:44 AM, Joonas Pulakka <[hidden email]>
>> wrote:
>> > Hello,
>> >
>> > I'm wondering what external dependencies BeanUtils actually has. On the
>> main
>> > page http://commons.apache.org/beanutils/ it's mentioned
>> > that commons-beanutils.jar has an optional dependency on Collections.
>> What
>> > does "optional" mean? Here
>>
>> You need Commons Collections if you use any of the following classes:
>>    BeanMap
>>    BeanPredicate
>>    BeanPropertyValueChangeClosure
>>    BeanPropertyValueEqualsPredicate
>>    BeanToPropertyValueTransformer
>>
>> > http://commons.apache.org/beanutils/dependencies.html it additionally
>> says
>> > Logging is a dependency. And then, here is stated that both Collections
>> and
>> > Logging packages are a _requirement_:
>> >
>> http://commons.apache.org/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#overview.dependencies
>>
>> That page is out of date wrt to Commons Collections - patches welcome
>>
>>
> I took the liberty of checking in changes to the package.html.  Feel free to
> critique.

Hey thanks! Looks good to me.

Niall

> Thanks,
>
> Brent
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Joonas Pulakka-2

Re: [BeanUtils] dependencies

Reply Threaded More More options
Print post
Permalink
2009/10/28 Niall Pemberton <[hidden email]>

> On Wed, Oct 28, 2009 at 3:45 PM, Brent Worden <[hidden email]>
> wrote:
> > On Wed, Oct 28, 2009 at 6:03 AM, Niall Pemberton
> > <[hidden email]>wrote:
> >
> >> On Wed, Oct 28, 2009 at 10:44 AM, Joonas Pulakka <[hidden email]
> >
> >> wrote:
> >> > Hello,
> >> >
> >> > I'm wondering what external dependencies BeanUtils actually has. On
> the
> >> main
> >> > page http://commons.apache.org/beanutils/ it's mentioned
> >> > that commons-beanutils.jar has an optional dependency on Collections.
> >> What
> >> > does "optional" mean? Here
> >>
> >> You need Commons Collections if you use any of the following classes:
> >>    BeanMap
> >>    BeanPredicate
> >>    BeanPropertyValueChangeClosure
> >>    BeanPropertyValueEqualsPredicate
> >>    BeanToPropertyValueTransformer
> >>
> >> > http://commons.apache.org/beanutils/dependencies.html it additionally
> >> says
> >> > Logging is a dependency. And then, here is stated that both
> Collections
> >> and
> >> > Logging packages are a _requirement_:
> >> >
> >>
> http://commons.apache.org/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#overview.dependencies
> >>
> >> That page is out of date wrt to Commons Collections - patches welcome
> >>
> >>
> > I took the liberty of checking in changes to the package.html.  Feel free
> to
> > critique.
>
> Hey thanks! Looks good to me.
>
>
Yep, thanks for the clarifications, it's clear now!

Best Regards,
Joonas