if you want to patch a jar then you need to create a patch. or else if you
need to manually replace a jar (not an recommended way) replace at plugins
folder. You can not patch patches.

thanks,
Amila.


On Wed, Jul 10, 2013 at 1:12 PM, Amila Suriarachchi <[email protected]> wrote:

>
>
>
> On Sun, Jul 7, 2013 at 11:48 PM, Afkham Azeez <[email protected]> wrote:
>
>> I think you should check the MD5 of the jars too & reapply patches if
>> they have changed.
>>
>
> Replacing a jar in a patch is not an intended behaviour. If some one wants
> to replace a jar then then they can replace them at the plugins folder.
>
> thanks,
> Amila.
>
>
>>
>>
>> On Sun, Jul 7, 2013 at 6:41 PM, Shameera Rathnayaka <[email protected]>wrote:
>>
>>> Hi Supun,
>>>
>>> We are checking patch changes in directory level not in jar level. But
>>> you will get md5 checksum warning if there any mismatch with most latest
>>> patches jar and the same jar in plugins directory. If there is any waring
>>> then you will see message like "Patch verification process complete with
>>> warnings" in server startup console. You can see these waring in
>>> patches.log file where all patch related log messages print.
>>>
>>> In your case you have to remove the previous patch first and then apply
>>> again with updated patch, Yes this is bit ugly but we don't recommend to
>>> update the jars comes with patches. For the easy of development we can
>>> introduce a way to force the patch application process(again we have to use
>>> a startup parameter).
>>>
>>> thanks,
>>> Shameera.
>>>
>>>
>>> On Sun, Jul 7, 2013 at 1:17 AM, Supun Malinga <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Noticed that after you updated a jar in a patch directory, it won't get
>>>> reapplied..
>>>> Are we not checking the md5?.
>>>>
>>>> thanks,
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Senior Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>> email - [email protected] <[email protected]>
>>>> mobile - 071 56 91 321
>>>>
>>>
>>>
>>>
>>> --
>>> *Software Engineer - WSO2 Inc.*
>>> *email: shameera AT wso2.com <[email protected]> , shameera AT
>>> apache.org <[email protected]>*
>>> *phone:  +9471 922 1454*
>>> *
>>> *
>>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>>> *Twitter     : *https://twitter.com/Shameera_R
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Amila Suriarachchi*
>
> Software Architect
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 71 3082805
>



-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 71 3082805
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to