Hi DanushkaF,

This is a result of not using clean repo for build the patch, Actually if
you have build the released kernel in clean repo previously ( as you have
mentioned but you should not have to) you will not end up issue like this.
The main reason is maven first lookup the local repo and then try to
download the missing artifact from remote repositories, if you had older
version of the above jar in your local maven repository then it will not
download the released jar and you will end up unexpected issues in build
time as well as at runtime.

Thanks,
Shameera.




On Tue, Sep 17, 2013 at 10:50 AM, Harsha Thirimanna <hars...@wso2.com>wrote:

> Hi danuska,
>
> This fixed is done in two week ago as in the log,
>
> *r183829 | same...@wso2.com | 2013-09-02 00:02:06 +0530 (Mon, 02 Sep
> 2013) | 1 line*
> *Fixing distributed caching*
>
> thanks
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>**
> email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770**
> twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>**
> harshathirimann
> linked-in: **http: <http://lk.linkedin.com/in/afkhamazeez>**//
> www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
> *
> *
> *Lean . Enterprise . Middleware*
> *
> *
>
>
> On Tue, Sep 17, 2013 at 10:44 AM, Danushka Fernando <danush...@wso2.com>wrote:
>
>> Hi
>> Thx harsha. Thats solved the issue. But I have already build the relased
>> kernal earlier last week. So how this can happen?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Tue, Sep 17, 2013 at 10:35 AM, Harsha Thirimanna <hars...@wso2.com>wrote:
>>
>>> hi ,
>>>
>>> You have to get svn up in this and build first
>>> carbon/kernel/branches/4.2.0/core/javax.cache/4.2.0
>>> there is a new method "removeMap" in DistributedMapProvider interface.
>>> In patch there is a impl of this method with @Override attribute. that is
>>> why it is given this error.
>>>
>>> It may be the issue for you
>>>
>>>
>>> thanks
>>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * <http://www.apache.org/>**
>>> email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770**
>>> twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>**
>>> harshathirimann
>>> linked-in: **http: <http://lk.linkedin.com/in/afkhamazeez>**//
>>> www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>> *
>>> *
>>>
>>>
>>> On Tue, Sep 17, 2013 at 10:29 AM, Danushka Fernando 
>>> <danush...@wso2.com>wrote:
>>>
>>>> I dont have any local changes.
>>>>
>>>> Thanks & Regards
>>>> Danushka Fernando
>>>> Software Engineer
>>>> WSO2 inc. http://wso2.com/
>>>> Mobile : +94716332729
>>>>
>>>>
>>>> On Tue, Sep 17, 2013 at 10:25 AM, Manoj Kumara <ma...@wso2.com> wrote:
>>>>
>>>>> Hi Dhanushka,
>>>>>
>>>>> I build can build patch0001 without an issue. Can you please check is
>>>>> there any local changes on your setup.
>>>>>
>>>>> Thanks,
>>>>> Manoj
>>>>>
>>>>> Best Regards..
>>>>>
>>>>>
>>>>> Manoj Kumara
>>>>> Software Engineer
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Twitter:  http://twitter.com/ManKuma
>>>>> Mobile: +94713448188
>>>>>
>>>>>
>>>>> On Tue, Sep 17, 2013 at 10:06 AM, Danushka Fernando <
>>>>> danush...@wso2.com> wrote:
>>>>>
>>>>>> Hi
>>>>>> I am getting this following compilation error when I try to build
>>>>>> kernal patch0001.
>>>>>> [ERROR] COMPILATION ERROR :
>>>>>> [INFO] -------------------------------------------------------------
>>>>>> [ERROR]
>>>>>> /home/wdfdo1986/Source_Code/kernel/4.2.0/patches/patch0001/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/clustering/hazelcast/HazelcastDistributedMapProvider.java:[48,4]
>>>>>> method does not override or implement a method from a supertype
>>>>>> [INFO] 1 error
>>>>>> [INFO] -------------------------------------------------------------
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>> [INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS
>>>>>> [42.587s]
>>>>>> [INFO] axis2.wso2 ........................................ SUCCESS
>>>>>> [33.812s]
>>>>>> [INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS
>>>>>> [40.392s]
>>>>>> [INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS
>>>>>> [1:41.534s]
>>>>>> [INFO] WSO2 Carbon - Kernel .............................. FAILURE
>>>>>> [15.086s]
>>>>>> [INFO] WSO2 Carbon Kernel Kernel Patch 0001 .............. SKIPPED
>>>>>> [INFO] Distribution-Aggregate ............................ SKIPPED
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 4:07.806s
>>>>>> [INFO] Finished at: Tue Sep 17 10:03:22 IST 2013
>>>>>> [INFO] Final Memory: 95M/1312M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>>> (default-compile) on project org.wso2.carbon.core: Compilation failure
>>>>>> [ERROR]
>>>>>> /home/wdfdo1986/Source_Code/kernel/4.2.0/patches/patch0001/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/clustering/hazelcast/HazelcastDistributedMapProvider.java:[48,4]
>>>>>> method does not override or implement a method from a supertype
>>>>>> [ERROR] -> [Help 1]
>>>>>> [ERROR]
>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>>> the -e switch.
>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>>> [ERROR]
>>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>>> please read the following articles:
>>>>>> [ERROR] [Help 1]
>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>> [ERROR]
>>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>>> the command
>>>>>> [ERROR]   mvn <goals> -rf :org.wso2.carbon.core
>>>>>>
>>>>>>
>>>>>> Thanks & Regards
>>>>>> Danushka Fernando
>>>>>> Software Engineer
>>>>>> WSO2 inc. http://wso2.com/
>>>>>> Mobile : +94716332729
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com <shame...@wso2.com> , shameera AT
apache.org<shame...@apache.org>
*
*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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to