You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Hiranya Jayathilaka <hi...@gmail.com> on 2011/12/07 06:50:22 UTC

Upgrading to Commons VFS 2

Folks,

We need to upgrade to Commons-VFS 2. We should get their 2.0 release tag
and apply a few patches. Rajika has already created a branch at [1] but
that was sometime back (before there was a commons-vfs 2 release).

Any idea how we can get this artifact into a maven repo so we can use it in
our build?

Thanks,
Hiranya

[1] -
https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Upgrading to Commons VFS 2

Posted by Kasun Indrasiri <ka...@gmail.com>.
+1
I'm working on adding commons-vfs2 to synapse with the required patches.

On Thu, Dec 8, 2011 at 10:09 AM, Hiranya Jayathilaka
<hi...@gmail.com>wrote:

>
>
> On Wed, Dec 7, 2011 at 9:54 PM, Ruwan Linton <ru...@gmail.com>wrote:
>
>> Hiranya, I guess you can directly take a dependency on latest released
>> commons-vfs artifacts and use the synapse patching mechanism to patch the
>> commons-vfs lib with the custom changes that we need. So the commons-vfs
>> patch will be a small maven module with just the patched classes using the
>> released artifact as a compile time dependency and the synapse distribution
>> build will need to copy that tiny patch into the patches directory of the
>> synapse lib. WDYT?
>>
>
> Certainly worth trying out. Will give it a try. Thanks Ruwan for the
> pointer.
>
>
>>
>> OTOH, I know we tried to push this to commons-vfs without a success, but
>> isn't it worth to try it once more? Otherwise we will have to live with
>> this headache.
>>
>
> +1
>
> Rajika has pinged them a few months back but AFAIK we didn't get any
> response. I'll give another try.
>
> Thanks,
> Hiranya
>
>
>>
>> Thanks,
>> Ruwan
>>
>>
>> On Wed, Dec 7, 2011 at 11:54 AM, Hiranya Jayathilaka <
>> hiranya911@gmail.com> wrote:
>>
>>>
>>>
>>> On Wed, Dec 7, 2011 at 11:35 AM, Supun Kamburugamuva <su...@gmail.com>wrote:
>>>
>>>> AFAIK we have created a vfs branch in the WSO2 svn repositories. So the
>>>> jar should be available in the WSO2 maven repo. Shall we use the jar from
>>>> there?
>>>
>>>
>>> Yes there's a branch available at [2] and the relevant artifact is
>>> available in the WSO2 Maven repo. But this branch was also created months
>>> ago (in March 2011), before there was an official 2.0 release from
>>> Commons-VFS. It's better if we can use the latest code from the official
>>> 2.0 release.
>>>
>>> But if this approach takes time or looks infeasible we can certainly use
>>> the artifact from WSO2 repo.
>>>
>>> Thanks,
>>> Hiranya
>>>
>>> [2] -
>>> https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons-vfs
>>>
>>>
>>>>
>>>> Thanks,
>>>> Supun..
>>>>
>>>>
>>>> On Wed, Dec 7, 2011 at 12:50 AM, Hiranya Jayathilaka <
>>>> hiranya911@gmail.com> wrote:
>>>>
>>>>> Folks,
>>>>>
>>>>> We need to upgrade to Commons-VFS 2. We should get their 2.0 release
>>>>> tag and apply a few patches. Rajika has already created a branch at [1] but
>>>>> that was sometime back (before there was a commons-vfs 2 release).
>>>>>
>>>>> Any idea how we can get this artifact into a maven repo so we can use
>>>>> it in our build?
>>>>>
>>>>> Thanks,
>>>>> Hiranya
>>>>>
>>>>> [1] -
>>>>> https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/
>>>>>
>>>>> --
>>>>> Hiranya Jayathilaka
>>>>> Associate Technical Lead;
>>>>> WSO2 Inc.;  http://wso2.org
>>>>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>>>> Blog: http://techfeast-hiranya.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Supun Kamburugamuva
>>>> Member, Apache Software Foundation; http://www.apache.org
>>>> E-mail: supun06@gmail.com <su...@wso2.com>;  Mobile: +94 77 431 3585
>>>> Blog: http://supunk.blogspot.com
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Hiranya Jayathilaka
>>> Associate Technical Lead;
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>> Blog: http://techfeast-hiranya.blogspot.com
>>>
>>
>>
>>
>> --
>> Ruwan Linton
>> Member, Apache Software Foundation; http://www.apache.org
>> Director of Engineering; http://adroitlogic.org
>>
>> phone: +94 11 282 7532
>> email: ruwan@adroitlogic.com; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>> linkedin: http://www.linkedin.com/in/ruwanlinton
>> google: http://www.google.com/profiles/ruwan.linton
>> tweet: http://twitter.com/ruwanlinton
>>
>>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Kasun Indrasiri
Senior Software Engineer,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/

Re: Upgrading to Commons VFS 2

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
On Wed, Dec 7, 2011 at 9:54 PM, Ruwan Linton <ru...@gmail.com> wrote:

> Hiranya, I guess you can directly take a dependency on latest released
> commons-vfs artifacts and use the synapse patching mechanism to patch the
> commons-vfs lib with the custom changes that we need. So the commons-vfs
> patch will be a small maven module with just the patched classes using the
> released artifact as a compile time dependency and the synapse distribution
> build will need to copy that tiny patch into the patches directory of the
> synapse lib. WDYT?
>

Certainly worth trying out. Will give it a try. Thanks Ruwan for the
pointer.


>
> OTOH, I know we tried to push this to commons-vfs without a success, but
> isn't it worth to try it once more? Otherwise we will have to live with
> this headache.
>

+1

Rajika has pinged them a few months back but AFAIK we didn't get any
response. I'll give another try.

Thanks,
Hiranya


>
> Thanks,
> Ruwan
>
>
> On Wed, Dec 7, 2011 at 11:54 AM, Hiranya Jayathilaka <hiranya911@gmail.com
> > wrote:
>
>>
>>
>> On Wed, Dec 7, 2011 at 11:35 AM, Supun Kamburugamuva <su...@gmail.com>wrote:
>>
>>> AFAIK we have created a vfs branch in the WSO2 svn repositories. So the
>>> jar should be available in the WSO2 maven repo. Shall we use the jar from
>>> there?
>>
>>
>> Yes there's a branch available at [2] and the relevant artifact is
>> available in the WSO2 Maven repo. But this branch was also created months
>> ago (in March 2011), before there was an official 2.0 release from
>> Commons-VFS. It's better if we can use the latest code from the official
>> 2.0 release.
>>
>> But if this approach takes time or looks infeasible we can certainly use
>> the artifact from WSO2 repo.
>>
>> Thanks,
>> Hiranya
>>
>> [2] -
>> https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons-vfs
>>
>>
>>>
>>> Thanks,
>>> Supun..
>>>
>>>
>>> On Wed, Dec 7, 2011 at 12:50 AM, Hiranya Jayathilaka <
>>> hiranya911@gmail.com> wrote:
>>>
>>>> Folks,
>>>>
>>>> We need to upgrade to Commons-VFS 2. We should get their 2.0 release
>>>> tag and apply a few patches. Rajika has already created a branch at [1] but
>>>> that was sometime back (before there was a commons-vfs 2 release).
>>>>
>>>> Any idea how we can get this artifact into a maven repo so we can use
>>>> it in our build?
>>>>
>>>> Thanks,
>>>> Hiranya
>>>>
>>>> [1] -
>>>> https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/
>>>>
>>>> --
>>>> Hiranya Jayathilaka
>>>> Associate Technical Lead;
>>>> WSO2 Inc.;  http://wso2.org
>>>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>>> Blog: http://techfeast-hiranya.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Supun Kamburugamuva
>>> Member, Apache Software Foundation; http://www.apache.org
>>> E-mail: supun06@gmail.com <su...@wso2.com>;  Mobile: +94 77 431 3585
>>> Blog: http://supunk.blogspot.com
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Hiranya Jayathilaka
>> Associate Technical Lead;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Ruwan Linton
> Member, Apache Software Foundation; http://www.apache.org
> Director of Engineering; http://adroitlogic.org
>
> phone: +94 11 282 7532
> email: ruwan@adroitlogic.com; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton
>
>


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Upgrading to Commons VFS 2

Posted by Ruwan Linton <ru...@gmail.com>.
Hiranya, I guess you can directly take a dependency on latest released
commons-vfs artifacts and use the synapse patching mechanism to patch the
commons-vfs lib with the custom changes that we need. So the commons-vfs
patch will be a small maven module with just the patched classes using the
released artifact as a compile time dependency and the synapse distribution
build will need to copy that tiny patch into the patches directory of the
synapse lib. WDYT?

OTOH, I know we tried to push this to commons-vfs without a success, but
isn't it worth to try it once more? Otherwise we will have to live with
this headache.

Thanks,
Ruwan

On Wed, Dec 7, 2011 at 11:54 AM, Hiranya Jayathilaka
<hi...@gmail.com>wrote:

>
>
> On Wed, Dec 7, 2011 at 11:35 AM, Supun Kamburugamuva <su...@gmail.com>wrote:
>
>> AFAIK we have created a vfs branch in the WSO2 svn repositories. So the
>> jar should be available in the WSO2 maven repo. Shall we use the jar from
>> there?
>
>
> Yes there's a branch available at [2] and the relevant artifact is
> available in the WSO2 Maven repo. But this branch was also created months
> ago (in March 2011), before there was an official 2.0 release from
> Commons-VFS. It's better if we can use the latest code from the official
> 2.0 release.
>
> But if this approach takes time or looks infeasible we can certainly use
> the artifact from WSO2 repo.
>
> Thanks,
> Hiranya
>
> [2] -
> https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons-vfs
>
>
>>
>> Thanks,
>> Supun..
>>
>>
>> On Wed, Dec 7, 2011 at 12:50 AM, Hiranya Jayathilaka <
>> hiranya911@gmail.com> wrote:
>>
>>> Folks,
>>>
>>> We need to upgrade to Commons-VFS 2. We should get their 2.0 release tag
>>> and apply a few patches. Rajika has already created a branch at [1] but
>>> that was sometime back (before there was a commons-vfs 2 release).
>>>
>>> Any idea how we can get this artifact into a maven repo so we can use it
>>> in our build?
>>>
>>> Thanks,
>>> Hiranya
>>>
>>> [1] -
>>> https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/
>>>
>>> --
>>> Hiranya Jayathilaka
>>> Associate Technical Lead;
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>>> Blog: http://techfeast-hiranya.blogspot.com
>>>
>>
>>
>>
>> --
>> Supun Kamburugamuva
>> Member, Apache Software Foundation; http://www.apache.org
>> E-mail: supun06@gmail.com <su...@wso2.com>;  Mobile: +94 77 431 3585
>> Blog: http://supunk.blogspot.com
>>
>>
>>
>>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Ruwan Linton
Member, Apache Software Foundation; http://www.apache.org
Director of Engineering; http://adroitlogic.org

phone: +94 11 282 7532
email: ruwan@adroitlogic.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Re: Upgrading to Commons VFS 2

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
On Wed, Dec 7, 2011 at 11:35 AM, Supun Kamburugamuva <su...@gmail.com>wrote:

> AFAIK we have created a vfs branch in the WSO2 svn repositories. So the
> jar should be available in the WSO2 maven repo. Shall we use the jar from
> there?


Yes there's a branch available at [2] and the relevant artifact is
available in the WSO2 Maven repo. But this branch was also created months
ago (in March 2011), before there was an official 2.0 release from
Commons-VFS. It's better if we can use the latest code from the official
2.0 release.

But if this approach takes time or looks infeasible we can certainly use
the artifact from WSO2 repo.

Thanks,
Hiranya

[2] -
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons-vfs


>
> Thanks,
> Supun..
>
>
> On Wed, Dec 7, 2011 at 12:50 AM, Hiranya Jayathilaka <hiranya911@gmail.com
> > wrote:
>
>> Folks,
>>
>> We need to upgrade to Commons-VFS 2. We should get their 2.0 release tag
>> and apply a few patches. Rajika has already created a branch at [1] but
>> that was sometime back (before there was a commons-vfs 2 release).
>>
>> Any idea how we can get this artifact into a maven repo so we can use it
>> in our build?
>>
>> Thanks,
>> Hiranya
>>
>> [1] -
>> https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/
>>
>> --
>> Hiranya Jayathilaka
>> Associate Technical Lead;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Supun Kamburugamuva
> Member, Apache Software Foundation; http://www.apache.org
> E-mail: supun06@gmail.com <su...@wso2.com>;  Mobile: +94 77 431 3585
> Blog: http://supunk.blogspot.com
>
>
>
>


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Re: Upgrading to Commons VFS 2

Posted by Supun Kamburugamuva <su...@gmail.com>.
AFAIK we have created a vfs branch in the WSO2 svn repositories. So the jar
should be available in the WSO2 maven repo. Shall we use the jar from there?

Thanks,
Supun..

On Wed, Dec 7, 2011 at 12:50 AM, Hiranya Jayathilaka
<hi...@gmail.com>wrote:

> Folks,
>
> We need to upgrade to Commons-VFS 2. We should get their 2.0 release tag
> and apply a few patches. Rajika has already created a branch at [1] but
> that was sometime back (before there was a commons-vfs 2 release).
>
> Any idea how we can get this artifact into a maven repo so we can use it
> in our build?
>
> Thanks,
> Hiranya
>
> [1] -
> https://svn.apache.org/repos/asf/synapse/branches/commons-vfs-2-synapse-2.0/
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Supun Kamburugamuva
Member, Apache Software Foundation; http://www.apache.org
E-mail: supun06@gmail.com <su...@wso2.com>;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com