Re: [Dev] Error when building carbon-utils.

2014-12-12 Thread Hemika Kodikara
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 
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  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  -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 
> 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.

2014-12-12 Thread Sinthuja Ragendran
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  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  -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 
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


[Dev] Error when building carbon-utils.

2014-12-12 Thread Hemika Kodikara
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  -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


Re: [Dev] Error when building carbon-utils

2014-09-23 Thread Himan Gamage
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  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  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 *
>> 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 *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when building carbon-utils

2014-09-23 Thread Aruna Karunarathna
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  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 *
> 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


[Dev] Error when building carbon-utils

2014-09-23 Thread Himan Gamage
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 *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev