Re: [Dev] Error when building carbon-utils.
Hi hemika, what is the JAVA version that you are using? AFAIR I came across similar issue when I built with java 7, and it resolved once I switched to java6. Hence please try switch the java 6 and try. Thanks, Sinthuja On Fri, Dec 12, 2014 at 6:08 PM, Hemika Kodikara hem...@wso2.com wrote: Hi All, I forked the carbon-utils[1] repo from wso2-dev today(12/12/2014) and attempted to build it. But getting the following error when building the WSO2 Carbon - Tasks Core module. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure [ERROR] /Users/hemikakodikara/mb/dev/300/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] error: type ServiceReference does not take parameters [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.ntask.core [1] - https://github.com/wso2-dev/carbon-utils Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sinthuja Rajendran* Senior Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error when building carbon-utils.
Hi Sinthuja, Yes, it got built with Java 6. Thanks for the response. Thanks, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Fri, Dec 12, 2014 at 6:25 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi hemika, what is the JAVA version that you are using? AFAIR I came across similar issue when I built with java 7, and it resolved once I switched to java6. Hence please try switch the java 6 and try. Thanks, Sinthuja On Fri, Dec 12, 2014 at 6:08 PM, Hemika Kodikara hem...@wso2.com wrote: Hi All, I forked the carbon-utils[1] repo from wso2-dev today(12/12/2014) and attempted to build it. But getting the following error when building the WSO2 Carbon - Tasks Core module. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure [ERROR] /Users/hemikakodikara/mb/dev/300/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] error: type ServiceReference does not take parameters [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.ntask.core [1] - https://github.com/wso2-dev/carbon-utils Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sinthuja Rajendran* Senior Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error when building carbon-utils
Hi Himan, Did you try to build with Java 7 or Java 8?.. try using Java 6 Regards, Aruna On Tue, Sep 23, 2014 at 4:18 PM, Himan Gamage hi...@wso2.com wrote: Hi all, When I was building the carbon-utils, I'm getting the following error. Any help will be greatly appreciated. [INFO] WSO2 Carbon - Tasks Core .. FAILURE [2.148s] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure [ERROR] /home/himangamage/wso2/others/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] error: type ServiceReference does not take parameters -- Best Regards, Himan Gamage Software Engineer Intern Mobile: *+94714636720* Email: hi...@wso2.com Blog : http://www.himangamage.info/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org 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: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error when building carbon-utils
Hi Aruna, I changed the JDK to jdk1.6.0_33. After that problem solved. Thanks for your kind assistance. On Tue, Sep 23, 2014 at 4:27 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Himan, Did you try to build with Java 7 or Java 8?.. try using Java 6 Regards, Aruna On Tue, Sep 23, 2014 at 4:18 PM, Himan Gamage hi...@wso2.com wrote: Hi all, When I was building the carbon-utils, I'm getting the following error. Any help will be greatly appreciated. [INFO] WSO2 Carbon - Tasks Core .. FAILURE [2.148s] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure [ERROR] /home/himangamage/wso2/others/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] error: type ServiceReference does not take parameters -- Best Regards, Himan Gamage Software Engineer Intern Mobile: *+94714636720* Email: hi...@wso2.com Blog : http://www.himangamage.info/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org 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: ar...@wso2.com | Web: www.wso2.com -- Best Regards, Himan Gamage Software Engineer Intern Mobile: *+94714636720* Email: hi...@wso2.com Blog : http://www.himangamage.info/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev