You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2010/11/08 13:13:44 UTC
[VFS] Update dependencies?
The following dependencies could potentially be updated:
ant:ant ............................................... 1.6.2 -> 1.6.5
commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
commons-collections:commons-collections ................. 3.1 -> 3.2.1
javax.mail:mail ......................................... 1.4 -> 1.4.1
org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
I think we should update most, if not all of them.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Jörg Schaible <jo...@gmx.de>.
sebb wrote:
> The following dependencies could potentially be updated:
>
> ant:ant ............................................... 1.6.2 -> 1.6.5
> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
> commons-collections:commons-collections ................. 3.1 -> 3.2.1
> javax.mail:mail ......................................... 1.4 -> 1.4.1
> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
xml-apis:xml-apis .................................... 1.0.b2 -> 1.3.04
2.x series is bogus and the artifacts are effectively a lot older than
1.3.x. And do we still need it anyway? The ones provided by the JDK 1.5
could be new enough.
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Henning Schmiedehausen <he...@schmiedehausen.org>.
Yes. httpclient actually changes a lot between 3.x and 4.x and is not
backwards compatible. I recently ported a piece of code from 3.x to
4.x and the changes are simple but require code changes.
-h
On Tue, Nov 9, 2010 at 10:09, sebb <se...@gmail.com> wrote:
> On 9 November 2010 17:47, Henning Schmiedehausen
> <he...@schmiedehausen.org> wrote:
>> This opens the philosophical can of worms of whether the dependencies
>> in the POM should be the 'least version required to run this' or 'the
>> latest and greatest'.
>
>> personally, I prefer the former. If someone integrating vfs uses
>> commons-collections-3.2.1 in their project, they will override the
>> transitive dependency of commons-vfs. But if someone integrating
>> commons-vfs needs to use commons-collections-3.1 for whatever reason,
>> then dragging in a sudden dependency change will screw them over.
>>
>> So I am -1 on this change. Please don't do it.
>
> Sorry, already did it.
>
> I'll revert the Collections change, but I think HttpClient should
> remain at 3.1 (rather than 3.0) as there were quite a few important
> fixes in it.
>
> Also I assume JUnit can stay at 4.8.2 as that is a test-only dependency.
>
>> -h
>>
>>
>>
>> On Mon, Nov 8, 2010 at 04:13, sebb <se...@gmail.com> wrote:
>>> The following dependencies could potentially be updated:
>>>
>>> ant:ant ............................................... 1.6.2 -> 1.6.5
>>> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
>>> commons-collections:commons-collections ................. 3.1 -> 3.2.1
>>> javax.mail:mail ......................................... 1.4 -> 1.4.1
>>> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
>>> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>>>
>>> I think we should update most, if not all of them.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by sebb <se...@gmail.com>.
On 9 November 2010 17:47, Henning Schmiedehausen
<he...@schmiedehausen.org> wrote:
> This opens the philosophical can of worms of whether the dependencies
> in the POM should be the 'least version required to run this' or 'the
> latest and greatest'.
> personally, I prefer the former. If someone integrating vfs uses
> commons-collections-3.2.1 in their project, they will override the
> transitive dependency of commons-vfs. But if someone integrating
> commons-vfs needs to use commons-collections-3.1 for whatever reason,
> then dragging in a sudden dependency change will screw them over.
>
> So I am -1 on this change. Please don't do it.
Sorry, already did it.
I'll revert the Collections change, but I think HttpClient should
remain at 3.1 (rather than 3.0) as there were quite a few important
fixes in it.
Also I assume JUnit can stay at 4.8.2 as that is a test-only dependency.
> -h
>
>
>
> On Mon, Nov 8, 2010 at 04:13, sebb <se...@gmail.com> wrote:
>> The following dependencies could potentially be updated:
>>
>> ant:ant ............................................... 1.6.2 -> 1.6.5
>> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
>> commons-collections:commons-collections ................. 3.1 -> 3.2.1
>> javax.mail:mail ......................................... 1.4 -> 1.4.1
>> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
>> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>>
>> I think we should update most, if not all of them.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Henning Schmiedehausen <he...@schmiedehausen.org>.
This opens the philosophical can of worms of whether the dependencies
in the POM should be the 'least version required to run this' or 'the
latest and greatest'.
personally, I prefer the former. If someone integrating vfs uses
commons-collections-3.2.1 in their project, they will override the
transitive dependency of commons-vfs. But if someone integrating
commons-vfs needs to use commons-collections-3.1 for whatever reason,
then dragging in a sudden dependency change will screw them over.
So I am -1 on this change. Please don't do it.
-h
On Mon, Nov 8, 2010 at 04:13, sebb <se...@gmail.com> wrote:
> The following dependencies could potentially be updated:
>
> ant:ant ............................................... 1.6.2 -> 1.6.5
> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
> commons-collections:commons-collections ................. 3.1 -> 3.2.1
> javax.mail:mail ......................................... 1.4 -> 1.4.1
> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>
> I think we should update most, if not all of them.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by sebb <se...@gmail.com>.
On 8 November 2010 16:14, Gary Gregory <GG...@seagullsoftware.com> wrote:
>> -----Original Message-----
>> From: jcarman@carmanconsulting.com [mailto:jcarman@carmanconsulting.com] On
>> Behalf Of James Carman
>> Sent: Monday, November 08, 2010 04:46
>> To: Commons Developers List
>> Subject: Re: [VFS] Update dependencies?
>>
>> Why do we have a dependency on ant?
>>
>> On Mon, Nov 8, 2010 at 7:13 AM, sebb <se...@gmail.com> wrote:
>> > The following dependencies could potentially be updated:
>> >
>> > ant:ant ............................................... 1.6.2 -> 1.6.5
>> > commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
>
> HttpClient 3.0 to 3.1 should be a drop-in but 3.1 to 4.0.3 will require code changes. So we should also plan for that.
That should be a long-term goal. The 4.x lines are still evolving, and
AFAIK 3.1 performs well enough for simple HTTP(S) requests.
> Gary
>
>> > commons-collections:commons-collections ................. 3.1 -> 3.2.1
>> > javax.mail:mail ......................................... 1.4 -> 1.4.1
>> > org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
>> > xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>> >
>> > I think we should update most, if not all of them.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > For additional commands, e-mail: dev-help@commons.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
RE: [VFS] Update dependencies?
Posted by Gary Gregory <GG...@seagullsoftware.com>.
> -----Original Message-----
> From: jcarman@carmanconsulting.com [mailto:jcarman@carmanconsulting.com] On
> Behalf Of James Carman
> Sent: Monday, November 08, 2010 04:46
> To: Commons Developers List
> Subject: Re: [VFS] Update dependencies?
>
> Why do we have a dependency on ant?
>
> On Mon, Nov 8, 2010 at 7:13 AM, sebb <se...@gmail.com> wrote:
> > The following dependencies could potentially be updated:
> >
> > ant:ant ............................................... 1.6.2 -> 1.6.5
> > commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
HttpClient 3.0 to 3.1 should be a drop-in but 3.1 to 4.0.3 will require code changes. So we should also plan for that.
Gary
> > commons-collections:commons-collections ................. 3.1 -> 3.2.1
> > javax.mail:mail ......................................... 1.4 -> 1.4.1
> > org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
> > xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
> >
> > I think we should update most, if not all of them.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Matt Benson <gu...@gmail.com>.
On Nov 8, 2010, at 10:20 AM, Jörg Schaible wrote:
> sebb wrote:
>
>> On 8 November 2010 16:05, sebb <se...@gmail.com> wrote:
>>> On 8 November 2010 12:46, James Carman <ja...@carmanconsulting.com>
>>> wrote:
>>>> Why do we have a dependency on ant?
>>>
>>> No idea - looks like it's not needed.
>>
>> Actually, the tasks package uses org.apache.tools.ant (I was looking
>> for org.apache.ant)
>
> See also: http://commons.apache.org/vfs/anttasks.html
>
Right, and Ant, IMO, is a special case: In Ant 1.7.x we gave higher prominence to Ant's Resource type and refactored damned near everything to use Resources/ResourceCollections. Because VFS provides a compatibility layer for *older* versions of Ant, I would suggest the minimum Ant version be left as early as possible, until, of course, the Ant compatibility APIs are rewritten to implement Ant Resources/ResourceCollections. Maybe that will happen in VFS 3.0; I don't know that I would have the time to do it now. :/
-Matt
> - Jörg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Jörg Schaible <jo...@gmx.de>.
sebb wrote:
> On 8 November 2010 16:05, sebb <se...@gmail.com> wrote:
>> On 8 November 2010 12:46, James Carman <ja...@carmanconsulting.com>
>> wrote:
>>> Why do we have a dependency on ant?
>>
>> No idea - looks like it's not needed.
>
> Actually, the tasks package uses org.apache.tools.ant (I was looking
> for org.apache.ant)
See also: http://commons.apache.org/vfs/anttasks.html
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by sebb <se...@gmail.com>.
On 8 November 2010 16:05, sebb <se...@gmail.com> wrote:
> On 8 November 2010 12:46, James Carman <ja...@carmanconsulting.com> wrote:
>> Why do we have a dependency on ant?
>
> No idea - looks like it's not needed.
Actually, the tasks package uses org.apache.tools.ant (I was looking
for org.apache.ant)
> Perhaps someone thought it was needed for the Maven Antrun plugin?
>
>> On Mon, Nov 8, 2010 at 7:13 AM, sebb <se...@gmail.com> wrote:
>>> The following dependencies could potentially be updated:
>>>
>>> ant:ant ............................................... 1.6.2 -> 1.6.5
>>> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
>>> commons-collections:commons-collections ................. 3.1 -> 3.2.1
>>> javax.mail:mail ......................................... 1.4 -> 1.4.1
>>> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
>>> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>>>
>>> I think we should update most, if not all of them.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by Jörg Schaible <jo...@gmx.de>.
sebb wrote:
> On 8 November 2010 12:46, James Carman <ja...@carmanconsulting.com> wrote:
>> Why do we have a dependency on ant?
>
> No idea - looks like it's not needed.
>
> Perhaps someone thought it was needed for the Maven Antrun plugin?
No. VfsTask is based on Ant:
core/src/main/java/org/apache/commons/vfs/tasks/VfsTask.java
However, I am not sure how this stuff is used.
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by sebb <se...@gmail.com>.
On 8 November 2010 12:46, James Carman <ja...@carmanconsulting.com> wrote:
> Why do we have a dependency on ant?
No idea - looks like it's not needed.
Perhaps someone thought it was needed for the Maven Antrun plugin?
> On Mon, Nov 8, 2010 at 7:13 AM, sebb <se...@gmail.com> wrote:
>> The following dependencies could potentially be updated:
>>
>> ant:ant ............................................... 1.6.2 -> 1.6.5
>> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
>> commons-collections:commons-collections ................. 3.1 -> 3.2.1
>> javax.mail:mail ......................................... 1.4 -> 1.4.1
>> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
>> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>>
>> I think we should update most, if not all of them.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Update dependencies?
Posted by James Carman <ja...@carmanconsulting.com>.
Why do we have a dependency on ant?
On Mon, Nov 8, 2010 at 7:13 AM, sebb <se...@gmail.com> wrote:
> The following dependencies could potentially be updated:
>
> ant:ant ............................................... 1.6.2 -> 1.6.5
> commons-httpclient:commons-httpclient ..................... 3.0 -> 3.1
> commons-collections:commons-collections ................. 3.1 -> 3.2.1
> javax.mail:mail ......................................... 1.4 -> 1.4.1
> org.apache.jackrabbit:jackrabbit-webdav ............... 1.5.2 -> 2.1.2
> xml-apis:xml-apis .................................... 1.0.b2 -> 2.0.2
>
> I think we should update most, if not all of them.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org