Re: [Dev] Java version compile error in AS

2013-08-22 Thread Piyum Fernando
Hi,

Fixed at 182483

Thanks.


On Thu, Aug 22, 2013 at 11:35 AM, Pulasthi Supun  wrote:

> Hi All,
>
> I am also getting the same error.
>
> Regards,
> Pulasthi
>
>
> On Thu, Aug 22, 2013 at 11:32 AM, Isuruwan Herath wrote:
>
>> Hi,
>>
>> Getting the following error while building AS samples:
>>
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 3.084s
>> [INFO] Finished at: Thu Aug 22 11:25:02 IST 2013
>> [INFO] Final Memory: 8M/311M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>> (default-compile) on project wso2appserver-samples-json: Compilation
>> failure: Compilation failure:
>> [ERROR]
>> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[36,24]
>> for-each loops are not supported in -source 1.3
>> [ERROR] (use -source 5 or higher to enable for-each loops)
>> [ERROR] for (String arg : args) {
>> [ERROR]
>> [ERROR]
>> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[49,15]
>> generics are not supported in -source 1.3
>> [ERROR] (use -source 5 or higher to enable generics)
>> [ERROR] HashMap paramMap = new HashMap();
>> [ERROR] -> [Help 1]
>> 
>>
>> Any idea pls?
>>
>> Regards!
>> Isuruwan
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Pulasthi Supun
> Software Engineer; WSO2 Inc.; http://wso2.com,
> Email: pulas...@wso2.com
> Mobile: +94 (71) 9258281
> Blog : http://pulasthisupun.blogspot.com/
> Git hub profile: https://github.com/pulasthi
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Piyum Fernando
Software Engineer

Mobile: +94 77 22 93 880
Home:  +94 31 22 75 715
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java version compile error in AS

2013-08-21 Thread Pulasthi Supun
Hi All,

I am also getting the same error.

Regards,
Pulasthi


On Thu, Aug 22, 2013 at 11:32 AM, Isuruwan Herath  wrote:

> Hi,
>
> Getting the following error while building AS samples:
>
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 3.084s
> [INFO] Finished at: Thu Aug 22 11:25:02 IST 2013
> [INFO] Final Memory: 8M/311M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project wso2appserver-samples-json: Compilation
> failure: Compilation failure:
> [ERROR]
> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[36,24]
> for-each loops are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable for-each loops)
> [ERROR] for (String arg : args) {
> [ERROR]
> [ERROR]
> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[49,15]
> generics are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable generics)
> [ERROR] HashMap paramMap = new HashMap();
> [ERROR] -> [Help 1]
> 
>
> Any idea pls?
>
> Regards!
> Isuruwan
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Java version compile error in AS

2013-08-21 Thread Isuruwan Herath
Hi,

Getting the following error while building AS samples:


[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 3.084s
[INFO] Finished at: Thu Aug 22 11:25:02 IST 2013
[INFO] Final Memory: 8M/311M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project wso2appserver-samples-json: Compilation
failure: Compilation failure:
[ERROR]
/home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[36,24]
for-each loops are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] for (String arg : args) {
[ERROR]
[ERROR]
/home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[49,15]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] HashMap paramMap = new HashMap();
[ERROR] -> [Help 1]


Any idea pls?

Regards!
Isuruwan
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev