Hi Madhawa,

No, I went straight in to building the patches,
I will build the release first, then try the patches.
Thanks for your help

Thanks and Regards,
Ashwin

On Sun, Nov 8, 2015 at 8:19 PM, Madhawa Gunasekara <[email protected]>
wrote:

> Hi Ashwin,
>
> Did you build the carbon 4.2.0 release version, before the patches? If
> not, you have to build the released one before the patches.
>
> Thanks,
> Madhawa
>
> On Sun, Nov 8, 2015 at 2:12 PM, Ashwin Nallaperuma <[email protected]>
> wrote:
>
>> Hi Aruna,
>>
>> Thanks for the reply,
>> When I tried to build patch0003 with JDK 6, it gave an error
>>
>> INFO] --- maven-bundle-plugin:3.0.0:bundle (default-bundle) @ jdbc-pool
>> ---
>> Nov 8, 2015 8:36:23 AM org.sonatype.guice.bean.reflect.Logs$JULSink warn
>> WARNING: Error injecting: org.apache.felix.bundleplugin.BundlePlugin
>> java.lang.UnsupportedClassVersionError: aQute/bnd/osgi/Analyzer :
>> Unsupported major.minor version 51.0
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at
>> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
>>
>> [ERROR] Failed to execute goal
>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle (default-bundle) on
>> project jdbc-pool: Execution default-bundle of goal
>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle failed: An API
>> incompatibility was encountered while executing
>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle:
>> java.lang.UnsupportedClassVersionError: aQute/bnd/osgi/Analyzer :
>> Unsupported major.minor version 51.0
>>
>> So I tried using JDK 7 and it worked
>> Is patch0009 failing because I build patch0003 using JDK7, maybe it has
>> dependencies,
>> is there a way to build patch0003 using JDK6 without getting the above
>> error
>>
>> Thanks and regards,
>> Ashwin
>>
>> On Sun, Nov 8, 2015 at 1:56 PM, Aruna Karunarathna <[email protected]>
>> wrote:
>>
>>> Hi Ashwin,
>>>
>>> For carbon 4.2.0 based ones you should build only using JDK6. AFAIR
>>> patch0009 can't be build directly even though you use JDK6, because of some
>>> dependencies in earlier patches. Cant exactly remember the dependent
>>> patches.
>>>
>>> What you can try is to build from parch0001 to patch0009 using JDK6 and
>>> maven 3.0.5.
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Sun, Nov 8, 2015 at 11:50 AM, Ashwin Nallaperuma <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am trying to build carbon 4.2.0 patch 0009 and the build failed,
>>>> details are below
>>>>
>>>> *patch0009 with java 7.80 maven 3.0.5*
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>> (default-compile) on project org.wso2.carbon.application.deployer:
>>>> Compilation failure
>>>> [ERROR]
>>>> /mnt/4.2.0/patches/patch0009/core/org.wso2.carbon.application.deployer/4.2.0/src/main/java/org/wso2/carbon/application/deployer/AppDeployerUtils.java:[558,14]
>>>> error: type IQuery does not take parameters
>>>> *patch0009 **with java 6.38 **maven 3.0.5*
>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle (default-bundle) on 
>>>> project hazelcast: Execution default-bundle of goal 
>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle failed: An API 
>>>> incompatibility was encountered while executing 
>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle: 
>>>> java.lang.UnsupportedClassVersionError: aQute/bnd/osgi/Analyzer : 
>>>> Unsupported major.minor version 51.0
>>>>
>>>> patches from 0001 to 0008 builds were success
>>>> *Note:-* Patch0003 was build using java 7 as for java 6 gave an error (
>>>> Unsupported major.minor version 51.0)
>>>>
>>>> Other patches were build using java 6.38 maven 3.0.5
>>>>
>>>> any help would be greatly appreciated.
>>>>
>>>> --
>>>> Ashwin Nallaperuma
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> lean . enterprise . middleware
>>>> http://wso2.com
>>>>
>>>> Mobile  : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810
>>>> Email   : [email protected] <[email protected]>
>>>> Blog     : shellpower.wordpress.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: [email protected] | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>> Ashwin Nallaperuma
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middleware
>> http://wso2.com
>>
>> Mobile  : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810
>> Email   : [email protected] <[email protected]>
>> Blog     : shellpower.wordpress.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> <http://madhawa-gunasekara.blogspot.com>*
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> <http://lk.linkedin.com/in/mgunasekara>*
>



-- 
Ashwin Nallaperuma
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile  : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810
Email   : [email protected] <[email protected]>
Blog     : shellpower.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to