Re: GWT compilation error with JDK 11

2023-07-12 Thread Ying Jin
Thanks for the information. The compilation problem has already been 
resolved. thanks, Jenny

On Wednesday, July 12, 2023 at 8:32:20 AM UTC-5 RobW wrote:

> I can't comment on the Eclipse plugin side of things, because we don't use 
> those. But I can confirm that basic GWT 2.9/2.10 compilation works fine 
> under Java 11 - that's our main Java platform now. I do recall some 
> migration notes in the GWT 2.9 or 2.10 release notes we had to take care 
> over, but I don't think those were Java version specific. More a case of 
> changes in GWT packaging.
>
> On Tuesday, 11 July 2023 at 23:47:37 UTC+1 Ying Jin wrote:
>
>> Ralph, thanks very much for your suggestion. I'll look into more of the 
>> approach to convert our gwt project to maven project.
>>
>> BTW, I've found the solution to make the GWT plugin work again in my 
>> laptop to compile the GWT project.
>>
>> I came across the following post when searching for the error related to 
>> webappcreator. 
>>
>> After I removed the "classpath" system variable from my new laptop and 
>> moved the GWT SDK to the top of the build path, the GWT Compiler starts 
>> working to compile the GWT project. 
>>
>>
>> https://topic.alibabacloud.com/a/exception-invocation-of-font-colorredcomfont-font-colorredgooglefont-gwt-user-font-colorredtoolsfont-webappcreator-failed-see-the-error-log-for-more-details_8_8_31771273.html
>>
>> Cheers ,
>> Jenny
>>
>>
>> On Tuesday, July 11, 2023 at 12:45:24 PM UTC-5 Ralph Fiergolla wrote:
>>
>>>
>>> It should not be that hard actually: you probably have separated client, 
>>> shared and server side classes following the standard package naming 
>>> convention. That is, basically it will be sufficient to copy your source 
>>> code to the according client/shared/server sub projects and you are done. 
>>> Okay, devil is in the details, but I did the same with some legacy project 
>>> and happily live ever after. Give it a try. Definitely better than spending 
>>> more time on installing different eclipse versions and plug-ins.
>>> Cheers
>>> Ralph 
>>> On Tuesday, July 11, 2023 at 6:51:11 PM UTC+2 Ying Jin wrote:
>>>
 Ralph,

 Thanks for your suggestion. However, one of our GWT project in 
 production was developed long time ago and has very big codebase. I'm not 
 sure how hard to convert it to Maven oriented project. It seems that we 
 have to do lots of code refactoring 
 in order to separate client side and server side code and other 
 configuraitons. 

 thanks,
 Jenny

 On Monday, July 10, 2023 at 11:59:01 PM UTC-5 Ralph Fiergolla wrote:

> Hi Jenny!
> With all these issues related to out-dated Eclipse plug-ins I would 
> strongly suggest switching to the new GWT Maven plug-in instead. Follow 
> the 
> instructions https://github.com/tbroyer/gwt-maven-archetypes/ to 
> create a project that you can easily import into the most recent Eclipse 
> (or any other IDE) subsequently. I don’t see much support for Eclipse 
> plug-ins coming… I learned it the hard way too but am now happily working 
> the Maven way. 
> Bon courage!
> Ralph 
> On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:
>
>> Hi Colin,
>>
>> I posted this issue on the gwt plugin site below, but there is no 
>> reply yet.
>>
>> https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470
>>
>> In addition, I've tried to install other version of Eclipse such as 
>> Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT 
>> plugin 3 
>> from market place and tried to create a sample gwt web application 
>> project 
>> as described below in gwt site, I got the error " Invocation of 
>> com.google.gwt.user.tools.WebAppCreator failed. See the error log for 
>> more 
>> details."  It seems to me this current market place gwt plugin didn't 
>> work 
>> as I didn't use our project at all
>> and followed the tutorial below.
>>
>> https://www.gwtproject.org/usingeclipse.html
>>
>> Is there a way to get a working GWT plugin for Eclipse which can work 
>> with JDK 11?
>>
>> Your help is much appreciated!
>> Jenny
>> On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:
>>
>>> If the class can't be found, something is wrong with your gwt-dev, 
>>> or the gwt-dev isn't on the classpath, or more details from the error 
>>> message will indicate why the Compiler class couldn't be loaded. 
>>>
>>> Please file a bug with more details (logs, full error message, other 
>>> details about differences between the working computer and non-working 
>>> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
>>> contributors there can take a closer look?
>>>
>>> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>>>
 I tried to reinstall Eclipse again and GWT 3 

Re: GWT compilation error with JDK 11

2023-07-12 Thread 'RobW' via GWT Users
I can't comment on the Eclipse plugin side of things, because we don't use 
those. But I can confirm that basic GWT 2.9/2.10 compilation works fine 
under Java 11 - that's our main Java platform now. I do recall some 
migration notes in the GWT 2.9 or 2.10 release notes we had to take care 
over, but I don't think those were Java version specific. More a case of 
changes in GWT packaging.

On Tuesday, 11 July 2023 at 23:47:37 UTC+1 Ying Jin wrote:

> Ralph, thanks very much for your suggestion. I'll look into more of the 
> approach to convert our gwt project to maven project.
>
> BTW, I've found the solution to make the GWT plugin work again in my 
> laptop to compile the GWT project.
>
> I came across the following post when searching for the error related to 
> webappcreator. 
>
> After I removed the "classpath" system variable from my new laptop and 
> moved the GWT SDK to the top of the build path, the GWT Compiler starts 
> working to compile the GWT project. 
>
>
> https://topic.alibabacloud.com/a/exception-invocation-of-font-colorredcomfont-font-colorredgooglefont-gwt-user-font-colorredtoolsfont-webappcreator-failed-see-the-error-log-for-more-details_8_8_31771273.html
>
> Cheers ,
> Jenny
>
>
> On Tuesday, July 11, 2023 at 12:45:24 PM UTC-5 Ralph Fiergolla wrote:
>
>>
>> It should not be that hard actually: you probably have separated client, 
>> shared and server side classes following the standard package naming 
>> convention. That is, basically it will be sufficient to copy your source 
>> code to the according client/shared/server sub projects and you are done. 
>> Okay, devil is in the details, but I did the same with some legacy project 
>> and happily live ever after. Give it a try. Definitely better than spending 
>> more time on installing different eclipse versions and plug-ins.
>> Cheers
>> Ralph 
>> On Tuesday, July 11, 2023 at 6:51:11 PM UTC+2 Ying Jin wrote:
>>
>>> Ralph,
>>>
>>> Thanks for your suggestion. However, one of our GWT project in 
>>> production was developed long time ago and has very big codebase. I'm not 
>>> sure how hard to convert it to Maven oriented project. It seems that we 
>>> have to do lots of code refactoring 
>>> in order to separate client side and server side code and other 
>>> configuraitons. 
>>>
>>> thanks,
>>> Jenny
>>>
>>> On Monday, July 10, 2023 at 11:59:01 PM UTC-5 Ralph Fiergolla wrote:
>>>
 Hi Jenny!
 With all these issues related to out-dated Eclipse plug-ins I would 
 strongly suggest switching to the new GWT Maven plug-in instead. Follow 
 the 
 instructions https://github.com/tbroyer/gwt-maven-archetypes/ to 
 create a project that you can easily import into the most recent Eclipse 
 (or any other IDE) subsequently. I don’t see much support for Eclipse 
 plug-ins coming… I learned it the hard way too but am now happily working 
 the Maven way. 
 Bon courage!
 Ralph 
 On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:

> Hi Colin,
>
> I posted this issue on the gwt plugin site below, but there is no 
> reply yet.
>
> https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470
>
> In addition, I've tried to install other version of Eclipse such as 
> Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT plugin 
> 3 
> from market place and tried to create a sample gwt web application 
> project 
> as described below in gwt site, I got the error " Invocation of 
> com.google.gwt.user.tools.WebAppCreator failed. See the error log for 
> more 
> details."  It seems to me this current market place gwt plugin didn't 
> work 
> as I didn't use our project at all
> and followed the tutorial below.
>
> https://www.gwtproject.org/usingeclipse.html
>
> Is there a way to get a working GWT plugin for Eclipse which can work 
> with JDK 11?
>
> Your help is much appreciated!
> Jenny
> On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:
>
>> If the class can't be found, something is wrong with your gwt-dev, or 
>> the gwt-dev isn't on the classpath, or more details from the error 
>> message 
>> will indicate why the Compiler class couldn't be loaded. 
>>
>> Please file a bug with more details (logs, full error message, other 
>> details about differences between the working computer and non-working 
>> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
>> contributors there can take a closer look?
>>
>> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>>
>>> I tried to reinstall Eclipse again and GWT 3 plugin again from 
>>> Eclipse market, downloaded and reinstalled gwt 2.9 for the project, 
>>> however, I still encountered the error below.
>>> It is so weird, the project configuration in eclipse works in my old 
>>> laptop, not in the new one 

Re: GWT compilation error with JDK 11

2023-07-11 Thread Ying Jin
Ralph, thanks very much for your suggestion. I'll look into more of the 
approach to convert our gwt project to maven project.

BTW, I've found the solution to make the GWT plugin work again in my laptop 
to compile the GWT project.

I came across the following post when searching for the error related to 
webappcreator. 

After I removed the "classpath" system variable from my new laptop and 
moved the GWT SDK to the top of the build path, the GWT Compiler starts 
working to compile the GWT project. 

https://topic.alibabacloud.com/a/exception-invocation-of-font-colorredcomfont-font-colorredgooglefont-gwt-user-font-colorredtoolsfont-webappcreator-failed-see-the-error-log-for-more-details_8_8_31771273.html

Cheers ,
Jenny


On Tuesday, July 11, 2023 at 12:45:24 PM UTC-5 Ralph Fiergolla wrote:

>
> It should not be that hard actually: you probably have separated client, 
> shared and server side classes following the standard package naming 
> convention. That is, basically it will be sufficient to copy your source 
> code to the according client/shared/server sub projects and you are done. 
> Okay, devil is in the details, but I did the same with some legacy project 
> and happily live ever after. Give it a try. Definitely better than spending 
> more time on installing different eclipse versions and plug-ins.
> Cheers
> Ralph 
> On Tuesday, July 11, 2023 at 6:51:11 PM UTC+2 Ying Jin wrote:
>
>> Ralph,
>>
>> Thanks for your suggestion. However, one of our GWT project in production 
>> was developed long time ago and has very big codebase. I'm not sure how 
>> hard to convert it to Maven oriented project. It seems that we have to do 
>> lots of code refactoring 
>> in order to separate client side and server side code and other 
>> configuraitons. 
>>
>> thanks,
>> Jenny
>>
>> On Monday, July 10, 2023 at 11:59:01 PM UTC-5 Ralph Fiergolla wrote:
>>
>>> Hi Jenny!
>>> With all these issues related to out-dated Eclipse plug-ins I would 
>>> strongly suggest switching to the new GWT Maven plug-in instead. Follow the 
>>> instructions https://github.com/tbroyer/gwt-maven-archetypes/ to create 
>>> a project that you can easily import into the most recent Eclipse (or any 
>>> other IDE) subsequently. I don’t see much support for Eclipse plug-ins 
>>> coming… I learned it the hard way too but am now happily working the Maven 
>>> way. 
>>> Bon courage!
>>> Ralph 
>>> On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:
>>>
 Hi Colin,

 I posted this issue on the gwt plugin site below, but there is no reply 
 yet.

 https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470

 In addition, I've tried to install other version of Eclipse such as 
 Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT plugin 
 3 
 from market place and tried to create a sample gwt web application project 
 as described below in gwt site, I got the error " Invocation of 
 com.google.gwt.user.tools.WebAppCreator failed. See the error log for more 
 details."  It seems to me this current market place gwt plugin didn't work 
 as I didn't use our project at all
 and followed the tutorial below.

 https://www.gwtproject.org/usingeclipse.html

 Is there a way to get a working GWT plugin for Eclipse which can work 
 with JDK 11?

 Your help is much appreciated!
 Jenny
 On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:

> If the class can't be found, something is wrong with your gwt-dev, or 
> the gwt-dev isn't on the classpath, or more details from the error 
> message 
> will indicate why the Compiler class couldn't be loaded. 
>
> Please file a bug with more details (logs, full error message, other 
> details about differences between the working computer and non-working 
> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
> contributors there can take a closer look?
>
> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>
>> I tried to reinstall Eclipse again and GWT 3 plugin again from 
>> Eclipse market, downloaded and reinstalled gwt 2.9 for the project, 
>> however, I still encountered the error below.
>> It is so weird, the project configuration in eclipse works in my old 
>> laptop, not in the new one though it both has windows 10 installed.
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> eclipse-jee-2020-06-R-win32-x86_64
>> GWT Plugin 3.0
>> gwt-2.9.0
>>
>> Please see attached for the java build path dialog in eclipse.
>>
>> Any idea about resolving this error? Please help shed some light on 
>> this problem.
>>
>> Your help is much appreciated!
>> Jenny
>>
>>
>> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>>
>>> Thanks for your reply. Please see attached for the 

Re: GWT compilation error with JDK 11

2023-07-11 Thread Ralph Fiergolla

It should not be that hard actually: you probably have separated client, 
shared and server side classes following the standard package naming 
convention. That is, basically it will be sufficient to copy your source 
code to the according client/shared/server sub projects and you are done. 
Okay, devil is in the details, but I did the same with some legacy project 
and happily live ever after. Give it a try. Definitely better than spending 
more time on installing different eclipse versions and plug-ins.
Cheers
Ralph 
On Tuesday, July 11, 2023 at 6:51:11 PM UTC+2 Ying Jin wrote:

> Ralph,
>
> Thanks for your suggestion. However, one of our GWT project in production 
> was developed long time ago and has very big codebase. I'm not sure how 
> hard to convert it to Maven oriented project. It seems that we have to do 
> lots of code refactoring 
> in order to separate client side and server side code and other 
> configuraitons. 
>
> thanks,
> Jenny
>
> On Monday, July 10, 2023 at 11:59:01 PM UTC-5 Ralph Fiergolla wrote:
>
>> Hi Jenny!
>> With all these issues related to out-dated Eclipse plug-ins I would 
>> strongly suggest switching to the new GWT Maven plug-in instead. Follow the 
>> instructions https://github.com/tbroyer/gwt-maven-archetypes/ to create 
>> a project that you can easily import into the most recent Eclipse (or any 
>> other IDE) subsequently. I don’t see much support for Eclipse plug-ins 
>> coming… I learned it the hard way too but am now happily working the Maven 
>> way. 
>> Bon courage!
>> Ralph 
>> On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:
>>
>>> Hi Colin,
>>>
>>> I posted this issue on the gwt plugin site below, but there is no reply 
>>> yet.
>>>
>>> https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470
>>>
>>> In addition, I've tried to install other version of Eclipse such as 
>>> Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT plugin 3 
>>> from market place and tried to create a sample gwt web application project 
>>> as described below in gwt site, I got the error " Invocation of 
>>> com.google.gwt.user.tools.WebAppCreator failed. See the error log for more 
>>> details."  It seems to me this current market place gwt plugin didn't work 
>>> as I didn't use our project at all
>>> and followed the tutorial below.
>>>
>>> https://www.gwtproject.org/usingeclipse.html
>>>
>>> Is there a way to get a working GWT plugin for Eclipse which can work 
>>> with JDK 11?
>>>
>>> Your help is much appreciated!
>>> Jenny
>>> On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:
>>>
 If the class can't be found, something is wrong with your gwt-dev, or 
 the gwt-dev isn't on the classpath, or more details from the error message 
 will indicate why the Compiler class couldn't be loaded. 

 Please file a bug with more details (logs, full error message, other 
 details about differences between the working computer and non-working 
 computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
 contributors there can take a closer look?

 On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:

> I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
> market, downloaded and reinstalled gwt 2.9 for the project, however, I 
> still encountered the error below.
> It is so weird, the project configuration in eclipse works in my old 
> laptop, not in the new one though it both has windows 10 installed.
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> eclipse-jee-2020-06-R-win32-x86_64
> GWT Plugin 3.0
> gwt-2.9.0
>
> Please see attached for the java build path dialog in eclipse.
>
> Any idea about resolving this error? Please help shed some light on 
> this problem.
>
> Your help is much appreciated!
> Jenny
>
>
> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>
>> Thanks for your reply. Please see attached for the GWT lib specified 
>> in the java build path in Eclipse. I tried to compile it with JDK 8 and 
>> it 
>> didn't work either. 
>> The same project configuration in Eclipse worked in my old laptop, 
>> but not in my new laptop. The Eclipse in the new laptop is a copy of the 
>> Eclipse installed in the old laptop.
>>
>> In addition, I also tried to  copy the "gwt-dev.jar" from the old 
>> laptop to the new one, but the compilation still gave me the following 
>> error.
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> The project was compiled by using GWT->Compile option provided by the 
>> GWT Plugin installed in Eclipse.
>>
>> Version: 2020-06 (4.16.0)
>> GWT Plugin version: 3.0
>>
>> Your help is greatly appreciated!
>>
>> thanks,
>> Jenny
>> On Friday, June 16, 2023 at 12:33:18 PM UTC-5 

Re: GWT compilation error with JDK 11

2023-07-11 Thread Ying Jin
Ralph,

Thanks for your suggestion. However, one of our GWT project in production 
was developed long time ago and has very big codebase. I'm not sure how 
hard to convert it to Maven oriented project. It seems that we have to do 
lots of code refactoring 
in order to separate client side and server side code and other 
configuraitons. 

thanks,
Jenny

On Monday, July 10, 2023 at 11:59:01 PM UTC-5 Ralph Fiergolla wrote:

> Hi Jenny!
> With all these issues related to out-dated Eclipse plug-ins I would 
> strongly suggest switching to the new GWT Maven plug-in instead. Follow the 
> instructions https://github.com/tbroyer/gwt-maven-archetypes/ to create a 
> project that you can easily import into the most recent Eclipse (or any 
> other IDE) subsequently. I don’t see much support for Eclipse plug-ins 
> coming… I learned it the hard way too but am now happily working the Maven 
> way. 
> Bon courage!
> Ralph 
> On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:
>
>> Hi Colin,
>>
>> I posted this issue on the gwt plugin site below, but there is no reply 
>> yet.
>>
>> https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470
>>
>> In addition, I've tried to install other version of Eclipse such as 
>> Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT plugin 3 
>> from market place and tried to create a sample gwt web application project 
>> as described below in gwt site, I got the error " Invocation of 
>> com.google.gwt.user.tools.WebAppCreator failed. See the error log for more 
>> details."  It seems to me this current market place gwt plugin didn't work 
>> as I didn't use our project at all
>> and followed the tutorial below.
>>
>> https://www.gwtproject.org/usingeclipse.html
>>
>> Is there a way to get a working GWT plugin for Eclipse which can work 
>> with JDK 11?
>>
>> Your help is much appreciated!
>> Jenny
>> On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:
>>
>>> If the class can't be found, something is wrong with your gwt-dev, or 
>>> the gwt-dev isn't on the classpath, or more details from the error message 
>>> will indicate why the Compiler class couldn't be loaded. 
>>>
>>> Please file a bug with more details (logs, full error message, other 
>>> details about differences between the working computer and non-working 
>>> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
>>> contributors there can take a closer look?
>>>
>>> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>>>
 I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
 market, downloaded and reinstalled gwt 2.9 for the project, however, I 
 still encountered the error below.
 It is so weird, the project configuration in eclipse works in my old 
 laptop, not in the new one though it both has windows 10 installed.

 Error: Could not find or load main class com.google.gwt.dev.Compiler

 eclipse-jee-2020-06-R-win32-x86_64
 GWT Plugin 3.0
 gwt-2.9.0

 Please see attached for the java build path dialog in eclipse.

 Any idea about resolving this error? Please help shed some light on 
 this problem.

 Your help is much appreciated!
 Jenny


 On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:

> Thanks for your reply. Please see attached for the GWT lib specified 
> in the java build path in Eclipse. I tried to compile it with JDK 8 and 
> it 
> didn't work either. 
> The same project configuration in Eclipse worked in my old laptop, but 
> not in my new laptop. The Eclipse in the new laptop is a copy of the 
> Eclipse installed in the old laptop.
>
> In addition, I also tried to  copy the "gwt-dev.jar" from the old 
> laptop to the new one, but the compilation still gave me the following 
> error.
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> The project was compiled by using GWT->Compile option provided by the 
> GWT Plugin installed in Eclipse.
>
> Version: 2020-06 (4.16.0)
> GWT Plugin version: 3.0
>
> Your help is greatly appreciated!
>
> thanks,
> Jenny
> On Friday, June 16, 2023 at 12:33:18 PM UTC-5 Colin Alworth wrote:
>
>> GWT 2.9 should support running on Java 11, both running on JDK 11 and 
>> compiling Java 11 sources.
>>
>> Without other information, it sounds like there is a problem with 
>> your copy of gwt-dev.jar - the jar might be corrupt, or somehow not on 
>> your 
>> classpath? 
>>
>> Can you verify that the jar is present and correct, and share more 
>> specifics of how you are building?
>>
>> On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com 
>> wrote:
>>
>>> Hello,
>>>
>>> I tried to compile our GWT 2.9 project with JDK 11, but encountered 
>>> the following error:
>>>
>>> Error: 

Re: GWT compilation error with JDK 11

2023-07-10 Thread Ralph Fiergolla
Hi Jenny!
With all these issues related to out-dated Eclipse plug-ins I would 
strongly suggest switching to the new GWT Maven plug-in instead. Follow the 
instructions https://github.com/tbroyer/gwt-maven-archetypes/ to create a 
project that you can easily import into the most recent Eclipse (or any 
other IDE) subsequently. I don’t see much support for Eclipse plug-ins 
coming… I learned it the hard way too but am now happily working the Maven 
way. 
Bon courage!
Ralph 
On Monday, July 10, 2023 at 7:25:41 PM UTC+2 Ying Jin wrote:

> Hi Colin,
>
> I posted this issue on the gwt plugin site below, but there is no reply 
> yet.
>
> https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470
>
> In addition, I've tried to install other version of Eclipse such as 
> Eclipse 4.18 (2020-12) with a new workspace. After I installed GWT plugin 3 
> from market place and tried to create a sample gwt web application project 
> as described below in gwt site, I got the error " Invocation of 
> com.google.gwt.user.tools.WebAppCreator failed. See the error log for more 
> details."  It seems to me this current market place gwt plugin didn't work 
> as I didn't use our project at all
> and followed the tutorial below.
>
> https://www.gwtproject.org/usingeclipse.html
>
> Is there a way to get a working GWT plugin for Eclipse which can work with 
> JDK 11?
>
> Your help is much appreciated!
> Jenny
> On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:
>
>> If the class can't be found, something is wrong with your gwt-dev, or the 
>> gwt-dev isn't on the classpath, or more details from the error message will 
>> indicate why the Compiler class couldn't be loaded. 
>>
>> Please file a bug with more details (logs, full error message, other 
>> details about differences between the working computer and non-working 
>> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
>> contributors there can take a closer look?
>>
>> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>>
>>> I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
>>> market, downloaded and reinstalled gwt 2.9 for the project, however, I 
>>> still encountered the error below.
>>> It is so weird, the project configuration in eclipse works in my old 
>>> laptop, not in the new one though it both has windows 10 installed.
>>>
>>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>>
>>> eclipse-jee-2020-06-R-win32-x86_64
>>> GWT Plugin 3.0
>>> gwt-2.9.0
>>>
>>> Please see attached for the java build path dialog in eclipse.
>>>
>>> Any idea about resolving this error? Please help shed some light on this 
>>> problem.
>>>
>>> Your help is much appreciated!
>>> Jenny
>>>
>>>
>>> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>>>
 Thanks for your reply. Please see attached for the GWT lib specified in 
 the java build path in Eclipse. I tried to compile it with JDK 8 and it 
 didn't work either. 
 The same project configuration in Eclipse worked in my old laptop, but 
 not in my new laptop. The Eclipse in the new laptop is a copy of the 
 Eclipse installed in the old laptop.

 In addition, I also tried to  copy the "gwt-dev.jar" from the old 
 laptop to the new one, but the compilation still gave me the following 
 error.

 Error: Could not find or load main class com.google.gwt.dev.Compiler

 The project was compiled by using GWT->Compile option provided by the 
 GWT Plugin installed in Eclipse.

 Version: 2020-06 (4.16.0)
 GWT Plugin version: 3.0

 Your help is greatly appreciated!

 thanks,
 Jenny
 On Friday, June 16, 2023 at 12:33:18 PM UTC-5 Colin Alworth wrote:

> GWT 2.9 should support running on Java 11, both running on JDK 11 and 
> compiling Java 11 sources.
>
> Without other information, it sounds like there is a problem with your 
> copy of gwt-dev.jar - the jar might be corrupt, or somehow not on your 
> classpath? 
>
> Can you verify that the jar is present and correct, and share more 
> specifics of how you are building?
>
> On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com 
> wrote:
>
>> Hello,
>>
>> I tried to compile our GWT 2.9 project with JDK 11, but encountered 
>> the following error:
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> Caused by: java.lang.ClassNotFoundException: 
>> com.google.gwt.dev.Compiler
>>
>> BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 
>>
>> Please help shed some lights on this issue.
>>
>> thanks,
>> Jenny
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To 

Re: GWT compilation error with JDK 11

2023-07-10 Thread Ying Jin
Hi Colin,

I posted this issue on the gwt plugin site below, but there is no reply yet.

https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/470

In addition, I've tried to install other version of Eclipse such as Eclipse 
4.18 (2020-12) with a new workspace. After I installed GWT plugin 3 from 
market place and tried to create a sample gwt web application project 
as described below in gwt site, I got the error " Invocation of 
com.google.gwt.user.tools.WebAppCreator failed. See the error log for more 
details."  It seems to me this current market place gwt plugin didn't work 
as I didn't use our project at all
and followed the tutorial below.

https://www.gwtproject.org/usingeclipse.html

Is there a way to get a working GWT plugin for Eclipse which can work with 
JDK 11?

Your help is much appreciated!
Jenny
On Tuesday, July 4, 2023 at 12:43:05 PM UTC-5 Colin Alworth wrote:

> If the class can't be found, something is wrong with your gwt-dev, or the 
> gwt-dev isn't on the classpath, or more details from the error message will 
> indicate why the Compiler class couldn't be loaded. 
>
> Please file a bug with more details (logs, full error message, other 
> details about differences between the working computer and non-working 
> computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
> contributors there can take a closer look?
>
> On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:
>
>> I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
>> market, downloaded and reinstalled gwt 2.9 for the project, however, I 
>> still encountered the error below.
>> It is so weird, the project configuration in eclipse works in my old 
>> laptop, not in the new one though it both has windows 10 installed.
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> eclipse-jee-2020-06-R-win32-x86_64
>> GWT Plugin 3.0
>> gwt-2.9.0
>>
>> Please see attached for the java build path dialog in eclipse.
>>
>> Any idea about resolving this error? Please help shed some light on this 
>> problem.
>>
>> Your help is much appreciated!
>> Jenny
>>
>>
>> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>>
>>> Thanks for your reply. Please see attached for the GWT lib specified in 
>>> the java build path in Eclipse. I tried to compile it with JDK 8 and it 
>>> didn't work either. 
>>> The same project configuration in Eclipse worked in my old laptop, but 
>>> not in my new laptop. The Eclipse in the new laptop is a copy of the 
>>> Eclipse installed in the old laptop.
>>>
>>> In addition, I also tried to  copy the "gwt-dev.jar" from the old laptop 
>>> to the new one, but the compilation still gave me the following error.
>>>
>>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>>
>>> The project was compiled by using GWT->Compile option provided by the 
>>> GWT Plugin installed in Eclipse.
>>>
>>> Version: 2020-06 (4.16.0)
>>> GWT Plugin version: 3.0
>>>
>>> Your help is greatly appreciated!
>>>
>>> thanks,
>>> Jenny
>>> On Friday, June 16, 2023 at 12:33:18 PM UTC-5 Colin Alworth wrote:
>>>
 GWT 2.9 should support running on Java 11, both running on JDK 11 and 
 compiling Java 11 sources.

 Without other information, it sounds like there is a problem with your 
 copy of gwt-dev.jar - the jar might be corrupt, or somehow not on your 
 classpath? 

 Can you verify that the jar is present and correct, and share more 
 specifics of how you are building?

 On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com wrote:

> Hello,
>
> I tried to compile our GWT 2.9 project with JDK 11, but encountered 
> the following error:
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> Caused by: java.lang.ClassNotFoundException: 
> com.google.gwt.dev.Compiler
>
> BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 
>
> Please help shed some lights on this issue.
>
> thanks,
> Jenny
>


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e627009b-2fb5-48f2-8e6b-b053fd3826d8n%40googlegroups.com.


Re: GWT compilation error with JDK 11

2023-07-04 Thread Colin Alworth
If the class can't be found, something is wrong with your gwt-dev, or the 
gwt-dev isn't on the classpath, or more details from the error message will 
indicate why the Compiler class couldn't be loaded. 

Please file a bug with more details (logs, full error message, other 
details about differences between the working computer and non-working 
computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
contributors there can take a closer look?

On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:

> I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
> market, downloaded and reinstalled gwt 2.9 for the project, however, I 
> still encountered the error below.
> It is so weird, the project configuration in eclipse works in my old 
> laptop, not in the new one though it both has windows 10 installed.
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> eclipse-jee-2020-06-R-win32-x86_64
> GWT Plugin 3.0
> gwt-2.9.0
>
> Please see attached for the java build path dialog in eclipse.
>
> Any idea about resolving this error? Please help shed some light on this 
> problem.
>
> Your help is much appreciated!
> Jenny
>
>
> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>
>> Thanks for your reply. Please see attached for the GWT lib specified in 
>> the java build path in Eclipse. I tried to compile it with JDK 8 and it 
>> didn't work either. 
>> The same project configuration in Eclipse worked in my old laptop, but 
>> not in my new laptop. The Eclipse in the new laptop is a copy of the 
>> Eclipse installed in the old laptop.
>>
>> In addition, I also tried to  copy the "gwt-dev.jar" from the old laptop 
>> to the new one, but the compilation still gave me the following error.
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> The project was compiled by using GWT->Compile option provided by the GWT 
>> Plugin installed in Eclipse.
>>
>> Version: 2020-06 (4.16.0)
>> GWT Plugin version: 3.0
>>
>> Your help is greatly appreciated!
>>
>> thanks,
>> Jenny
>> On Friday, June 16, 2023 at 12:33:18 PM UTC-5 Colin Alworth wrote:
>>
>>> GWT 2.9 should support running on Java 11, both running on JDK 11 and 
>>> compiling Java 11 sources.
>>>
>>> Without other information, it sounds like there is a problem with your 
>>> copy of gwt-dev.jar - the jar might be corrupt, or somehow not on your 
>>> classpath? 
>>>
>>> Can you verify that the jar is present and correct, and share more 
>>> specifics of how you are building?
>>>
>>> On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com wrote:
>>>
 Hello,

 I tried to compile our GWT 2.9 project with JDK 11, but encountered the 
 following error:

 Error: Could not find or load main class com.google.gwt.dev.Compiler

 Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler

 BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 

 Please help shed some lights on this issue.

 thanks,
 Jenny

>>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/25ab65da-b3a5-4458-955c-248dc64d97adn%40googlegroups.com.


Re: GWT compilation error with JDK 11

2023-06-16 Thread Colin Alworth
GWT 2.9 should support running on Java 11, both running on JDK 11 and 
compiling Java 11 sources.

Without other information, it sounds like there is a problem with your copy 
of gwt-dev.jar - the jar might be corrupt, or somehow not on your 
classpath? 

Can you verify that the jar is present and correct, and share more 
specifics of how you are building?

On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com wrote:

> Hello,
>
> I tried to compile our GWT 2.9 project with JDK 11, but encountered the 
> following error:
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
>
> BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 
>
> Please help shed some lights on this issue.
>
> thanks,
> Jenny
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/531a2b90-776a-4ed3-a797-8f9c5f4b5be5n%40googlegroups.com.


GWT compilation error with JDK 11

2023-06-15 Thread Ying Jin
Hello,

I tried to compile our GWT 2.9 project with JDK 11, but encountered the 
following error:

Error: Could not find or load main class com.google.gwt.dev.Compiler

Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler

BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 

Please help shed some lights on this issue.

thanks,
Jenny

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/1312f386-3a06-4b56-b87d-567cd48e24cfn%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-30 Thread medasani kesavi
Understand that GWT only emulates a subset of Java classes in client-side 
code, and nothing from AWT or Swing.

However ours is an existing GWT(2.4) and GXT(2.2.5) projects. It works well 
with old libraries. However when i try to migrate to GWT 2.8.2 I am facing 
these issues.

Is there a major change with these whitelisted classed with upgraded GWT

On Wednesday, 31 July 2019 12:23:53 UTC+10, Jim Douglas wrote:
>
> GWT only emulates a subset of Java classes in client-side code, and 
> nothing from AWT or Swing.
>
> http://www.gwtproject.org/doc/latest/RefJreEmulation.html
>
> On Tuesday, July 30, 2019 at 4:56:12 PM UTC-7, medasani kesavi wrote:
>>
>>
>> Can someone suggest if below is also for same situation
>> Point2D is basic class from Java 8 however seems to be cannot be utilized 
>> in GWT. Anyone using MAPs functionality experiencing the same issue
>>  Line 23: Point2D cannot be resolved to a type
>> [INFO]  Line 30: Point2D cannot be resolved to a type
>> [INFO]  Line 30: The method normalised() from the type Line2D 
>> refers to the missing type Double
>> [INFO]  Line 29: Point2D cannot be resolved to a type
>> [INFO]  Line 3: The import java.awt cannot be resolved
>> [INFO]  Line 25: Point2D cannot be resolved to a type
>> [INFO]  Line 29: The method normalised() from the type Line2D 
>> refers to the missing type Double
>> On Sunday, 21 July 2019 23:46:19 UTC+10, Frank Hossfeld wrote:
>>>
>>> The compile tells you, that there is no source code for: 
>>> org.apache.commons.beanutils.PropertyUtils
>>>
>>> Common problem is:
>>>
>>> * you did not inherit the module descriptor for the module containing 
>>> PropertyUtils
>>>
>>> Just add the module using inherits in your module descriptor. 
>>>
>>> But I am pretty sure, PropertyUtils can not be used on the client side 
>>> ... but maybe I am wrong.
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/db3b22b3-fc17-456c-9215-4fbd4f33958c%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-30 Thread 'Jim Douglas' via GWT Users
GWT only emulates a subset of Java classes in client-side code, and nothing 
from AWT or Swing.

http://www.gwtproject.org/doc/latest/RefJreEmulation.html

On Tuesday, July 30, 2019 at 4:56:12 PM UTC-7, medasani kesavi wrote:
>
>
> Can someone suggest if below is also for same situation
> Point2D is basic class from Java 8 however seems to be cannot be utilized 
> in GWT. Anyone using MAPs functionality experiencing the same issue
>  Line 23: Point2D cannot be resolved to a type
> [INFO]  Line 30: Point2D cannot be resolved to a type
> [INFO]  Line 30: The method normalised() from the type Line2D 
> refers to the missing type Double
> [INFO]  Line 29: Point2D cannot be resolved to a type
> [INFO]  Line 3: The import java.awt cannot be resolved
> [INFO]  Line 25: Point2D cannot be resolved to a type
> [INFO]  Line 29: The method normalised() from the type Line2D 
> refers to the missing type Double
> On Sunday, 21 July 2019 23:46:19 UTC+10, Frank Hossfeld wrote:
>>
>> The compile tells you, that there is no source code for: 
>> org.apache.commons.beanutils.PropertyUtils
>>
>> Common problem is:
>>
>> * you did not inherit the module descriptor for the module containing 
>> PropertyUtils
>>
>> Just add the module using inherits in your module descriptor. 
>>
>> But I am pretty sure, PropertyUtils can not be used on the client side 
>> ... but maybe I am wrong.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5e5bf612-8f73-4506-b2d8-0836ea5ee5ba%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-30 Thread medasani kesavi

Can someone suggest if below is also for same situation
Point2D is basic class from Java 8 however seems to be cannot be utilized 
in GWT. Anyone using MAPs functionality experiencing the same issue
 Line 23: Point2D cannot be resolved to a type
[INFO]  Line 30: Point2D cannot be resolved to a type
[INFO]  Line 30: The method normalised() from the type Line2D 
refers to the missing type Double
[INFO]  Line 29: Point2D cannot be resolved to a type
[INFO]  Line 3: The import java.awt cannot be resolved
[INFO]  Line 25: Point2D cannot be resolved to a type
[INFO]  Line 29: The method normalised() from the type Line2D 
refers to the missing type Double
On Sunday, 21 July 2019 23:46:19 UTC+10, Frank Hossfeld wrote:
>
> The compile tells you, that there is no source code for: 
> org.apache.commons.beanutils.PropertyUtils
>
> Common problem is:
>
> * you did not inherit the module descriptor for the module containing 
> PropertyUtils
>
> Just add the module using inherits in your module descriptor. 
>
> But I am pretty sure, PropertyUtils can not be used on the client side ... 
> but maybe I am wrong.
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/3c15bd04-50ed-4ba3-9867-759841c6bfd2%40googlegroups.com.


Re: JSNI method compilation error with javascript regular expression

2019-07-30 Thread Thomas Broyer
Looking at 
https://github.com/gwtproject/gwt/blob/4d36d55d26aabc12e4429faf0603c539a54a13cd/dev/core/src/com/google/gwt/dev/js/rhino/TokenStream.java#L1251-L1265
 which 
parses the regexp, it looks like you'd have to escape the '/' so it's not 
mistaken for the end of the regexp:
from:
var reg = /^[\\w+/_-]+[=]{0,2}$/

to
var reg = /^[\\w+\/_-]+[=]{0,2}$/



(btw, not sure you really want \\w here)

On Monday, July 29, 2019 at 9:57:09 AM UTC+2, Qin Binghua wrote:
>
> Hello everyone,
>
>
> To simplify the description of the problem, I use an official example to 
> illustrate the problem。
>
>
>1. Follow the GWT Getting Started 
> to create a GWT 
>project 
>
>webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp
>
>2. Define a JSNI method with java regular expression and call it  in 
>the *EntryPoint* class com.mycompany.mywebapp.client.MyWebApp
>
>public static native void methodWithRegularExpression()/*-{
>var reg = /^[\\w+/_-]+[=]{0,2}$/
>console.log("reg:" + reg)
>}-*/;
>
>/**
> * This is the entry point method.
> */
>public void onModuleLoad() {
>methodWithRegularExpression();
>}
>
>3. Compile the project with the following Ant task(gwtc)
>
>
>   
>  
>
>  
>  
>
>  
>
>
>
>
>
>location="${gwt.sdk}/validation-api-1.0.0.GA-sources.jar"/>
>
>
>  
>
>  
>
>
>file="${gwt.sdk}/gwt-servlet-deps.jar" />
>
>  
>
>  
>
>destdir="war/WEB-INF/classes"
>source="1.7" target="1.7" nowarn="true"
>debug="true" debuglevel="lines,vars,source">
>  
>
>
>  
>
>  
>
>  
>classname="com.google.gwt.dev.Compiler" maxmemory="512m">
>  
>
>
>  
>  
>  
>  
>  
>  
>  
>
>  
>
>4. Build failed
>
>javac:
>[javac] G:\Google\MyWebApp\build.xml:34: warning: 
>'includeantruntime' was not set, defaulting to build.sysclasspath=last; 
> set 
>to false for repeatable builds
>[javac] Compiling 1 source file to 
>G:\Google\MyWebApp\war\WEB-INF\classes
>
>gwtc:
> [java] 七月 29, 2019 10:31:07 上午 java.util.prefs.WindowsPreferences 
>
> [java] 警告: Could not open/create prefs root node 
>Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) 
>returned error code 5.
> [java] Compiling module com.mycompany.mywebapp.MyWebApp
> [java]Tracing compile failure path for type 
>'com.mycompany.mywebapp.client.MyWebApp'
> [java]   [ERROR] Errors in 
>'file:/G:/Google/MyWebApp/src/com/mycompany/mywebapp/client/MyWebApp.java'
> [java]  [ERROR] Line 44: missing ; before statement
> [java] > var reg = /^[\\w+/_-]+[=]{0,2}$/
> [java] > ---^
> [java]Finding entry point classes
> [java]   Tracing compile failure path for type 
>'com.mycompany.mywebapp.client.MyWebApp'
> [java]  [ERROR] Errors in 
>'file:/G:/Google/MyWebApp/src/com/mycompany/mywebapp/client/MyWebApp.java'
> [java] [ERROR] Line 44: missing ; before statement
> [java] > var reg = /^[\\w+/_-]+[=]{0,2}$/
> [java] > ---^
> [java]   [ERROR] Hint: Check the inheritance chain from your 
>module; it may not be inheriting a required module or a module may not be 
>adding its source path entries properly
>
>BUILD FAILED
>
>
> *More information:*
>
> ant version:
> Apache Ant(TM) version 1.9.14 compiled on March 12 2019
>
> GWT SDK version:
> 2.8.2
>
> In the end, does anyone know how to solve this problem? 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a7751b4a-3c92-44bd-b379-e255f27db3a6%40googlegroups.com.


JSNI method compilation error with javascript regular expression

2019-07-29 Thread Qin Binghua
Hello everyone,


To simplify the description of the problem, I use an official example to 
illustrate the problem。


   1. Follow the GWT Getting Started 
    to create a GWT 
   project 
   
   webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp
   
   2. Define a JSNI method with java regular expression and call it  in the 
   *EntryPoint* class com.mycompany.mywebapp.client.MyWebApp
   
   public static native void methodWithRegularExpression()/*-{
   var reg = /^[\\w+/_-]+[=]{0,2}$/
   console.log("reg:" + reg)
   }-*/;
   
   /**
* This is the entry point method.
*/
   public void onModuleLoad() {
   methodWithRegularExpression();
   }
   
   3. Compile the project with the following Ant task(gwtc)
   
   
  
 
   
 
 
   
 
   
   
   
   
   
   
   
   
 
   
 
   
   
   
   
 
   
 
   
   
 
   
   
 
   
 
   
 
   
 
   
   
 
 
 
 
 
 
 
   
 
   
   4. Build failed
   
   javac:
   [javac] G:\Google\MyWebApp\build.xml:34: warning: 
   'includeantruntime' was not set, defaulting to build.sysclasspath=last; set 
   to false for repeatable builds
   [javac] Compiling 1 source file to 
   G:\Google\MyWebApp\war\WEB-INF\classes
   
   gwtc:
[java] 七月 29, 2019 10:31:07 上午 java.util.prefs.WindowsPreferences 
   
[java] 警告: Could not open/create prefs root node 
   Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) 
   returned error code 5.
[java] Compiling module com.mycompany.mywebapp.MyWebApp
[java]Tracing compile failure path for type 
   'com.mycompany.mywebapp.client.MyWebApp'
[java]   [ERROR] Errors in 
   'file:/G:/Google/MyWebApp/src/com/mycompany/mywebapp/client/MyWebApp.java'
[java]  [ERROR] Line 44: missing ; before statement
[java] > var reg = /^[\\w+/_-]+[=]{0,2}$/
[java] > ---^
[java]Finding entry point classes
[java]   Tracing compile failure path for type 
   'com.mycompany.mywebapp.client.MyWebApp'
[java]  [ERROR] Errors in 
   'file:/G:/Google/MyWebApp/src/com/mycompany/mywebapp/client/MyWebApp.java'
[java] [ERROR] Line 44: missing ; before statement
[java] > var reg = /^[\\w+/_-]+[=]{0,2}$/
[java] > ---^
[java]   [ERROR] Hint: Check the inheritance chain from your 
   module; it may not be inheriting a required module or a module may not be 
   adding its source path entries properly
   
   BUILD FAILED
   
   
*More information:*

ant version:
Apache Ant(TM) version 1.9.14 compiled on March 12 2019

GWT SDK version:
2.8.2

In the end, does anyone know how to solve this problem? 



-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/d30f6ee6-b48b-4114-b07a-8937994a16cc%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-21 Thread Frank Hossfeld
The compile tells you, that there is no source code for: 
org.apache.commons.beanutils.PropertyUtils

Common problem is:

* you did not inherit the module descriptor for the module containing 
PropertyUtils

Just add the module using inherits in your module descriptor. 

But I am pretty sure, PropertyUtils can not be used on the client side ... 
but maybe I am wrong.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/79dca1a8-efc1-4460-9adf-250f735b93c3%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-21 Thread medasani kesavi
To my knowledge yes they are client compatible and whitelisted classes only

Is there anything I should specifically check

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8ec6b29d-75ec-47f6-81cd-8d13512102d4%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-19 Thread Debasish Padhy
Could you confirm if all jars included have client compatible code only ? 
i.e. only whitelisted classes


On Friday, July 19, 2019 at 11:08:27 AM UTC+5:30, medasani kesavi wrote:
>
> These jars as also included as a dependency with classifier as sources
>
> sources
> provided
>
>
> On Friday, 19 July 2019 11:21:44 UTC+10, medasani kesavi wrote:
>>
>> I have some jars added as sources . 15 compilation errors are from the 
>> files from these jars however there is actually no error in that jar. 
>> 
>> xxx:jar:sources
>> xxx:sources
>> xxx:jar:sources
>> xxx:jar:sources
>> xxx:jar:sources
>> xxx:jar:sources
>> xxx:jar:sources
>> 
>>
>> All errors are like below 
>>
>> No source code is available for type 
>> org.apache.commons.beanutils.PropertyUtils; did you forget to inherit a 
>> required module?
>>
>> These jars are also added as dependency with classifier as sources. So I 
>> tried removing compileSourcesArtifacts as its deprecated . However these 
>> errors still persist
>>
>>
>> Thanks
>>
>> kesavi
>>
>> On Thursday, 18 July 2019 20:11:57 UTC+10, Frank Hossfeld wrote:
>>>
>>> set logLevel=TRACE and fix the 15 compilation errors
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/4399af4b-c464-4be2-ae12-d74590e8f5dc%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-18 Thread medasani kesavi
These jars as also included as a dependency with classifier as sources

sources
provided


On Friday, 19 July 2019 11:21:44 UTC+10, medasani kesavi wrote:
>
> I have some jars added as sources . 15 compilation errors are from the 
> files from these jars however there is actually no error in that jar. 
> 
> xxx:jar:sources
> xxx:sources
> xxx:jar:sources
> xxx:jar:sources
> xxx:jar:sources
> xxx:jar:sources
> xxx:jar:sources
> 
>
> All errors are like below 
>
> No source code is available for type 
> org.apache.commons.beanutils.PropertyUtils; did you forget to inherit a 
> required module?
>
> These jars are also added as dependency with classifier as sources. So I 
> tried removing compileSourcesArtifacts as its deprecated . However these 
> errors still persist
>
>
> Thanks
>
> kesavi
>
> On Thursday, 18 July 2019 20:11:57 UTC+10, Frank Hossfeld wrote:
>>
>> set logLevel=TRACE and fix the 15 compilation errors
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/7ca99059-7ff3-42fd-8fa9-b6fae7016c96%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-18 Thread medasani kesavi
I have some jars added as sources . 15 compilation errors are from the 
files from these jars however there is actually no error in that jar. 

xxx:jar:sources
xxx:sources
xxx:jar:sources
xxx:jar:sources
xxx:jar:sources
xxx:jar:sources
xxx:jar:sources


All errors are like below 

No source code is available for type 
org.apache.commons.beanutils.PropertyUtils; did you forget to inherit a 
required module?

These jars are also added as dependency with classifier as sources. So I tried 
removing compileSourcesArtifacts as its deprecated . However these errors still 
persist


Thanks

kesavi

On Thursday, 18 July 2019 20:11:57 UTC+10, Frank Hossfeld wrote:
>
> set logLevel=TRACE and fix the 15 compilation errors
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5ab72dfd-f450-4516-8c84-021c49b38596%40googlegroups.com.


Re: Gwt 2.8.2 compilation error

2019-07-18 Thread medasani kesavi
Hi Frank,

Thanks for the reply

I have set log level to trace but couldnt find much

[INFO] Resolving annotation for javax.persistence.Id
[INFO] Resolving annotation for 
javax.persistence.Column
[INFO] Resolving annotation for 
javax.persistence.GeneratedValue
[INFO] Resolving annotation for 
javax.persistence.SequenceGenerator
[INFO]  Resolving field eventNumber
[INFO] Resolving annotation for 
javax.persistence.Column
[INFO]  Resolving field policeIncidentNumber
[INFO] Resolving annotation for 
javax.persistence.Column
[INFO]  Resolving field incidentVersions
[INFO] Resolving annotation for 
javax.persistence.OneToMany
[INFO] Resolving annotation for 
javax.persistence.OrderBy
[INFO]  Resolving field crashes
[INFO] Resolving annotation for 
javax.persistence.OneToMany
[INFO]  Resolving field audit
[INFO] Resolving annotation for 
javax.persistence.Embedded
[INFO] Found type 
'au.gov.nsw.rta.cl2.client.home.HomePagePresenter'
[INFO]Resolving method 
[INFO]   Resolving annotation for com.google.inject.Inject
[INFO] Found type 
'au.gov.nsw.rta.cl2.client.admin.broadcast.BroadcastMessagesPresenter'
[INFO]Resolving method 
[INFO]   Resolving annotation for com.google.inject.Inject
[INFO] Found type 
'au.gov.nsw.rta.cl2.client.admin.configuration.ConfigurationParametersPresenter'
[INFO]Resolving method 
[INFO]   Resolving annotation for com.google.inject.Inject
[INFO] Found type 
'au.gov.nsw.rta.cl2.client.admin.user.create.CreateUserPresenter'
[INFO]Resolving method 
[INFO]   Resolving annotation for com.google.inject.Inject
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.NullPointerException
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBounds(ResolveTypeSignature.java:221)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(ResolveTypeSignature.java:291)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(ResolveTypeSignature.java:288)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(ResolveTypeSignature.java:330)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd(ResolveTypeSignature.java:146)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveMethod(CompilationUnitTypeOracleUpdater.java:1151)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:944)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.access$700(CompilationUnitTypeOracleUpdater.java:82)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater$CompilationUnitTypeOracleResolver.resolveClass(CompilationUnitTypeOracleUpdater.java:187)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitClassType(ResolveTypeSignature.java:133)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:896)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.access$700(CompilationUnitTypeOracleUpdater.java:82)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater$CompilationUnitTypeOracleResolver.resolveClass(CompilationUnitTypeOracleUpdater.java:187)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitClassType(ResolveTypeSignature.java:133)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveMethod(CompilationUnitTypeOracleUpdater.java:1151)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:944)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.addNewTypesDontIndex(CompilationUnitTypeOracleUpdater.java:415)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.addNewTypesDontIndex(CompilationUnitTypeOracleUpdater.java:493)
[INFO]  at 

Re: Gwt 2.8.2 compilation error

2019-07-18 Thread Frank Hossfeld
set logLevel=TRACE and fix the 15 compilation errors

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5a11fc5b-1ced-4538-8576-e3804f828241%40googlegroups.com.


Gwt 2.8.2 compilation error

2019-07-18 Thread medasani kesavi
Hi ,

I am new to gWT. we are upgrading our application to GWT 2.8.2 and sencha 
GXT 4.0.3
My application is throwing below error . could you please assist 

[INFO] Compiling module au.gov.nsw.rta.cl2.CrashLink2
[INFO]Ignored 15 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
all errors.
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.NullPointerException
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBounds(ResolveTypeSignature.java:221)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(ResolveTypeSignature.java:291)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(ResolveTypeSignature.java:288)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(ResolveTypeSignature.java:330)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd(ResolveTypeSignature.java:146)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveMethod(CompilationUnitTypeOracleUpdater.java:1151)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:944)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.access$700(CompilationUnitTypeOracleUpdater.java:82)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater$CompilationUnitTypeOracleResolver.resolveClass(CompilationUnitTypeOracleUpdater.java:187)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitClassType(ResolveTypeSignature.java:133)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:896)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.access$700(CompilationUnitTypeOracleUpdater.java:82)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater$CompilationUnitTypeOracleResolver.resolveClass(CompilationUnitTypeOracleUpdater.java:187)
[INFO]  at 
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitClassType(ResolveTypeSignature.java:133)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.a(Unknown Source)
[INFO]  at org.objectweb.asm.signature.SignatureReader.accept(Unknown 
Source)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveMethod(CompilationUnitTypeOracleUpdater.java:1151)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.resolveClass(CompilationUnitTypeOracleUpdater.java:944)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.addNewTypesDontIndex(CompilationUnitTypeOracleUpdater.java:415)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.addNewTypesDontIndex(CompilationUnitTypeOracleUpdater.java:493)
[INFO]  at 
com.google.gwt.dev.javac.CompilationUnitTypeOracleUpdater.addNewUnits(CompilationUnitTypeOracleUpdater.java:456)
[INFO]  at 
com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:251)
[INFO]  at 
com.google.gwt.dev.javac.CompilationState.(CompilationState.java:111)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:556)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)
[INFO]  at 
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
[INFO]  at 
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO]  at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:125)
[INFO] 


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Norbert Sándor
Thanks for the quick reply.
Then I check the classpath of the Maven build again (although I've already 
done it and found no conflicts or duplications).
--
Norbi

On Tuesday, 12 April 2016 21:55:24 UTC+2, Juan Pablo Gardella wrote:
>
> 20-SNAPSHOT
>
> On Tue, 12 Apr 2016 at 14:48 Norbert Sándor  > wrote:
>
>> Maybe someone can help which guava version is the "supported" for 
>> gwt-2.8.0-snapshot?
>>
>> Thanks,
>> Norbi
>>
>>
>> On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>>>
>>> Hello,
>>>
>>> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
>>> When I perform GWT compilation in Eclipse (by directly calling the 
>>> Compiler from a launch config) everything works as expected.
>>> But when I compile using gwt-maven-plugin, the following error is raised:
>>>
>>> [INFO][ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>>> [INFO]   [ERROR] Line 2880: The method and(Predicate>> ? super Map.Entry>, Predicate>) 
>>> is undefined for the type Predicates
>>> [INFO]   [ERROR] Line 3134: The method and(Predicate>> ? super Map.Entry>, Predicate>) 
>>> is undefined for the type Predicates
>>> [INFO]Tracing compile failure path for type 
>>> 'com.google.common.collect.Maps'
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>>> [INFO]  [ERROR] Line 2880: The method 
>>> and(Predicate>, 
>>> Predicate>) is undefined for the type 
>>> Predicates
>>> [INFO]  [ERROR] Line 3134: The method 
>>> and(Predicate>, 
>>> Predicate>) is undefined for the type 
>>> Predicates
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
>>> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap 
>>> cannot be resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
>>> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be 
>>> resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
>>> [INFO]  [ERROR] 
>>> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a 
>>> type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
>>> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap 
>>> cannot be resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
>>> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries 
>>> cannot be resolved to a type
>>>
>>> Do you have any idea how can I fix it?
>>>
>>> Thanks.
>>> BR,
>>> Norbi
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Juan Pablo Gardella
20-SNAPSHOT

On Tue, 12 Apr 2016 at 14:48 Norbert Sándor 
wrote:

> Maybe someone can help which guava version is the "supported" for
> gwt-2.8.0-snapshot?
>
> Thanks,
> Norbi
>
>
> On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>>
>> Hello,
>>
>> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
>> When I perform GWT compilation in Eclipse (by directly calling the
>> Compiler from a launch config) everything works as expected.
>> But when I compile using gwt-maven-plugin, the following error is raised:
>>
>> [INFO][ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>> [INFO]   [ERROR] Line 2880: The method and(Predicate> super Map.Entry>, Predicate>) is
>> undefined for the type Predicates
>> [INFO]   [ERROR] Line 3134: The method and(Predicate> super Map.Entry>, Predicate>) is
>> undefined for the type Predicates
>> [INFO]Tracing compile failure path for type
>> 'com.google.common.collect.Maps'
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>> [INFO]  [ERROR] Line 2880: The method
>> and(Predicate>,
>> Predicate>) is undefined for the type
>> Predicates
>> [INFO]  [ERROR] Line 3134: The method
>> and(Predicate>,
>> Predicate>) is undefined for the type
>> Predicates
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
>> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap
>> cannot be resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
>> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be
>> resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
>> [INFO]  [ERROR]
>> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a
>> type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
>> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap cannot
>> be resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
>> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries
>> cannot be resolved to a type
>>
>> Do you have any idea how can I fix it?
>>
>> Thanks.
>> BR,
>> Norbi
>>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Norbert Sándor
Maybe someone can help which guava version is the "supported" for 
gwt-2.8.0-snapshot?

Thanks,
Norbi

On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>
> Hello,
>
> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
> When I perform GWT compilation in Eclipse (by directly calling the 
> Compiler from a launch config) everything works as expected.
> But when I compile using gwt-maven-plugin, the following error is raised:
>
> [INFO][ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
> [INFO]   [ERROR] Line 2880: The method and(Predicate super Map.Entry>, Predicate>) is 
> undefined for the type Predicates
> [INFO]   [ERROR] Line 3134: The method and(Predicate super Map.Entry>, Predicate>) is 
> undefined for the type Predicates
> [INFO]Tracing compile failure path for type 
> 'com.google.common.collect.Maps'
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
> [INFO]  [ERROR] Line 2880: The method and(Predicate ? super Map.Entry>, Predicate>) 
> is undefined for the type Predicates
> [INFO]  [ERROR] Line 3134: The method and(Predicate ? super Map.Entry>, Predicate>) 
> is undefined for the type Predicates
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap 
> cannot be resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be 
> resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
> [INFO]  [ERROR] 
> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a 
> type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap cannot 
> be resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries cannot 
> be resolved to a type
>
> Do you have any idea how can I fix it?
>
> Thanks.
> BR,
> Norbi
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-10 Thread Norbert Sándor
Hello,

I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
When I perform GWT compilation in Eclipse (by directly calling the Compiler 
from a launch config) everything works as expected.
But when I compile using gwt-maven-plugin, the following error is raised:

[INFO][ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO]   [ERROR] Line 2880: The method and(Predicate>, Predicate>) is 
undefined for the type Predicates
[INFO]   [ERROR] Line 3134: The method and(Predicate>, Predicate>) is 
undefined for the type Predicates
[INFO]Tracing compile failure path for type 
'com.google.common.collect.Maps'
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO]  [ERROR] Line 2880: The method and(Predicate>, Predicate>) 
is undefined for the type Predicates
[INFO]  [ERROR] Line 3134: The method and(Predicate>, Predicate>) 
is undefined for the type Predicates
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
[INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap 
cannot be resolved to a type
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
[INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be 
resolved to a type
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
[INFO]  [ERROR] com.google.common.collect.ImmutableMultimap.Builder 
cannot be resolved to a type
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
[INFO]  [ERROR] com.google.common.collect.AbstractMultimap cannot 
be resolved to a type
[INFO]   [ERROR] Errors in 
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
[INFO]  [ERROR] com.google.common.collect.Multimaps.Entries cannot 
be resolved to a type

Do you have any idea how can I fix it?

Thanks.
BR,
Norbi

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Eclipse Luna SR1 w/ GPE 3.8.0 -- Compilation error on GWT 2.7 project, builds fine w/ Maven 3

2015-02-04 Thread Laurent D
Hi THomas and many thanks for your quick reply !

I wasn't aware you had your own plugin at GitHub and this was different 
from the one at Codehaus, thanks for all these indications!

I'll definitely give your plugin a try, and will also try your archetype to 
test it with GWT 2.7!

Regarding your question as to why I'd want to GWT compile in Eclipse: 
this is so I can generate the GWT nocache.js, permutations and .rpc files 
in the Eclipse GWT output folder (which is generally different from the 
Maven output folder) so that I can point to it in a Dev Mode configuration. 
This is only for development/debugging; I rely on Maven for producing the 
final version of the app to be tested and deployed.
Indeed, there's a way to share the Maven GWT output folder with Eclipse in 
DevMode, but it's often simpler (and leads to fewer problems) to have 
separate Eclipse/Maven output folders fior the GWT client side files (well, 
this is a personal opinion of course).

I'm taking note of your recommendation that my rant should better be aimed 
at the GPE guys on their forum or on StackOverflow as they suggest in their 
forum.

Thank you for your time and for your advice.

Kind regards,
Laurent



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Eclipse Luna SR1 w/ GPE 3.8.0 -- Compilation error on GWT 2.7 project, builds fine w/ Maven 3

2015-02-04 Thread Thomas Broyer


On Tuesday, February 3, 2015 at 7:53:11 PM UTC+1, Laurent D wrote:

 Hello there,


 I decided to give GWT 2.7 a quick test using Thomas Broyer's Multi 
 project setup sample included as part of its gwt-maven-plugin source:

 (doc: 
 http://mojo.codehaus.org/gwt-maven-plugin/user-guide/multiproject.html)

 (source: 
 https://github.com/gwt-maven-plugin/gwt-maven-plugin/tree/master/src/it/reactor
 )


Note: this is not my plugin, I'm just pushing updates and releases from 
time to time. My plugin is https://github.com/tbroyer/gwt-maven-plugin, 
and my multi-module setup can be found 
at https://github.com/tbroyer/gwt-maven-archetypes
The setup you're linking to is an integration test, not a sample (as 
warned in the documentation)

 

 While building this project with Maven 3.0.5 only required minor tweaking 
 of the reactor project's pom (basically replacing  '@pom.version@' and 
 '@gwt.version@' placeholders with hard-coded values), I was unable to get 
 it to compile with GPE under Eclipse, using the 'Google  GWT Compile' 
 option. The error I first got (which did not make much sense IMHO...) was:

 Compiling module org.codehaus.mojo.gwt.test.Hello
Looking for precompiled archives.  To disable, use 
 -Dgwt.usearchives=false
Loading archived module: 
 jar:file:/C:/Local/maven2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/core/Core.gwtar
 [ERROR] Unexpected internal compiler error
 java.lang.NoClassDefFoundError: org/objectweb/asm/MethodVisitor
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

  .../...
  
  Caused by: java.lang.ClassNotFoundException: 
 org.objectweb.asm.MethodVisitor
  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

  .../...

 I then tried to edit the POM and use 2.5.1 as GWT version and had the 
 compiler complain about not being able to find the 'HelloAsyncService' 
 class... 
 I checked and it was actually in the 'target/generated-sources/gwt' of the 
 'war' project, and this source directory was not on the Java Build Path in 
 Eclipse (I guess  the POM is missing a 'maven-build-helper-plugin' exection 
 for adding this directory as source directory in Eclipse...)


Eclipse is supposed to auto-detect that folder as a source folder (I never 
tried it though, I don't use gwt:generateAsync, heck I don't even use RPC); 
try updating the project (from memory: right-click → Maven → update project 
from POM).
 

  
 Anyway, just manually adding 'target/generated-sources/gwt' as a source 
 folder to the Java Build Path and retrying 'Google  GWT Compilation', this 
 time the project compiled fine with GPE in Eclipse.
  
 Feeling relieved and confident I had finally nailed it, I then changed 
 back the GWT version to 2.7.1 in the 'reactor' project POM to have another 
 try, but this time I got this error in Eclipse:
  

 Loading inherited module 'org.codehaus.mojo.gwt.test.Hello'
Loading inherited module 'com.google.gwt.user.User'
   Loading inherited module 'com.google.gwt.core.Core'
  Loading inherited module 'com.google.gwt.core.CompilerParameters'
 [ERROR] Element 'module' beginning on line 17 contains 
 unexpected attribute 'type'
 [ERROR] Failure while parsing XML
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
 entries)
  at 
 com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedAttribute(DefaultSchema.java:72)
  at 
 com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:80)
  
 Again, this does not seem to make much sense as an 'mvn clean package' on 
 the 'reactor' project works fine on the command line with Maven 3.0.5, as 
 does an 'mvn gwt:compile' on the child 'war' project...

  

 For the record, I'm using 32-bit Eclipse 4.4.1 on Windows 7, with GPE 
 v3.8.0.v201410302155-rel-r44


 Any ideas as to the likely cause for this error and how it can be remedied 
 please?


As it's an Eclipse-specific failure, I'd ask on the GPE forum (which 
actually asks you to ask on 
StackOverflow): https://groups.google.com/d/forum/google-plugin-eclipse
 


 I am getting more and more fed up with the Eclipse WTP, M2E and GPE deadly 
 combination No offense meant, but this shaky tooling really ruins the 
 GWT coding experience... I spend all day tweaking things in Eclipse so that 
 I can make my GWT projects compile, and then I have to battle again to have 
 them run in Dev Mode or Super Dev Mode as the case may be... It really is a 
 gigantic pain, we lose whole days trying to just setup a project correctly 
 so that it will compile and run...


The start of a solution is to always first understand what you want to do, 
then have your tools do it.
I don't quite understand why you'd want to compile from within Eclipse, and 
IIRC that's not really configuration.
DevMode and SuperDevMode are almost-regular launchers so you 

Eclipse Luna SR1 w/ GPE 3.8.0 -- Compilation error on GWT 2.7 project, builds fine w/ Maven 3

2015-02-04 Thread Laurent D


Hello there,


I decided to give GWT 2.7 a quick test using Thomas Broyer's Multi project 
setup sample included as part of its gwt-maven-plugin source:

(doc: http://mojo.codehaus.org/gwt-maven-plugin/user-guide/multiproject.html
)

(source: 
https://github.com/gwt-maven-plugin/gwt-maven-plugin/tree/master/src/it/reactor
)


While building this project with Maven 3.0.5 only required minor tweaking 
of the reactor project's pom (basically replacing  '@pom.version@' and 
'@gwt.version@' placeholders with hard-coded values), I was unable to get 
it to compile with GPE under Eclipse, using the 'Google  GWT Compile' 
option. The error I first got (which did not make much sense IMHO...) was:

Compiling module org.codehaus.mojo.gwt.test.Hello
   Looking for precompiled archives.  To disable, use 
-Dgwt.usearchives=false
   Loading archived module: 
jar:file:/C:/Local/maven2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/core/Core.gwtar
[ERROR] Unexpected internal compiler error
java.lang.NoClassDefFoundError: org/objectweb/asm/MethodVisitor
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

 .../...
 
 Caused by: java.lang.ClassNotFoundException: 
org.objectweb.asm.MethodVisitor
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

 .../...

I then tried to edit the POM and use 2.5.1 as GWT version and had the 
compiler complain about not being able to find the 'HelloAsyncService' 
class... 
I checked and it was actually in the 'target/generated-sources/gwt' of the 
'war' project, and this source directory was not on the Java Build Path in 
Eclipse (I guess  the POM is missing a 'maven-build-helper-plugin' exection 
for adding this directory as source directory in Eclipse...)
 
Anyway, just manually adding 'target/generated-sources/gwt' as a source 
folder to the Java Build Path and retrying 'Google  GWT Compilation', this 
time the project compiled fine with GPE in Eclipse.
 
Feeling relieved and confident I had finally nailed it, I then changed back 
the GWT version to 2.7.1 in the 'reactor' project POM to have another try, 
but this time I got this error in Eclipse:
 

Loading inherited module 'org.codehaus.mojo.gwt.test.Hello'
   Loading inherited module 'com.google.gwt.user.User'
  Loading inherited module 'com.google.gwt.core.Core'
 Loading inherited module 'com.google.gwt.core.CompilerParameters'
[ERROR] Element 'module' beginning on line 17 contains 
unexpected attribute 'type'
[ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
 at 
com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedAttribute(DefaultSchema.java:72)
 at com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:80)
 
Again, this does not seem to make much sense as an 'mvn clean package' on 
the 'reactor' project works fine on the command line with Maven 3.0.5, as 
does an 'mvn gwt:compile' on the child 'war' project...

 

For the record, I'm using 32-bit Eclipse 4.4.1 on Windows 7, with GPE 
v3.8.0.v201410302155-rel-r44


Any ideas as to the likely cause for this error and how it can be remedied 
please?


I am getting more and more fed up with the Eclipse WTP, M2E and GPE deadly 
combination No offense meant, but this shaky tooling really ruins the 
GWT coding experience... I spend all day tweaking things in Eclipse so that 
I can make my GWT projects compile, and then I have to battle again to have 
them run in Dev Mode or Super Dev Mode as the case may be... It really is a 
gigantic pain, we lose whole days trying to just setup a project correctly 
so that it will compile and run...

Can we expect a new version of GPE anytime soon? Also, it would greatly 
help if you could update the GPE documentation that is rather thin, 
especially as far as the GWT side of things is concerned...

I am aware that people working on these various tools do their best and I 
do not mean to be disrespectful, but the situation has really been giving 
very bad press to GWT for years, and it does not seem to improve much... 
Setting up and developing a GWT project is already error-prone and 
complicated enough, we really need some more robust tooling and 
documentation / checklists to support development...


Sorry for such a long rant, and hoping you can provide some guidance on 
this,

Regards,

Laurent

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt+guava compilation error:[ERROR] Line 761: MAX_SIZE cannot be resolved or is not a field

2014-01-22 Thread Thomas Broyer


On Wednesday, January 22, 2014 2:17:51 AM UTC+1, Alex Luya wrote:

 When compiling *guava 16.0*+gwt 2.6 RC4,I got this error:

 [ERROR] Errors in 
 'jar:file:/home/alex/workspace/DSC-Lib/lib/*guava-**gwt-15.0*.jar!/com/google/common/base/super/com/google/common/base/CharMatcher.java'


So, is this Guava 16 or Guava 15? (emphasis mine above)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: gwt+guava compilation error:[ERROR] Line 761: MAX_SIZE cannot be resolved or is not a field

2014-01-22 Thread Alex Luya
both in guava 15 and 16,by the way.by the way,it is a discussed 
bug:https://code.google.com/p/guava-libraries/issues/detail?id=1639

On Thursday, January 23, 2014 12:50:40 AM UTC+8, Thomas Broyer wrote:



 On Wednesday, January 22, 2014 2:17:51 AM UTC+1, Alex Luya wrote:

 When compiling *guava 16.0*+gwt 2.6 RC4,I got this error:

 [ERROR] Errors in 
 'jar:file:/home/alex/workspace/DSC-Lib/lib/*guava-**gwt-15.0*.jar!/com/google/common/base/super/com/google/common/base/CharMatcher.java'


 So, is this Guava 16 or Guava 15? (emphasis mine above)


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: gwt+guava compilation error:[ERROR] Line 761: MAX_SIZE cannot be resolved or is not a field

2014-01-22 Thread Alex Luya
Both of them,by the way ,it is a confirmed 
bug:https://code.google.com/p/guava-libraries/issues/detail?id=1639

On 01/23/2014 12:50 AM, Thomas Broyer wrote:



On Wednesday, January 22, 2014 2:17:51 AM UTC+1, Alex Luya wrote:

|When compiling*guava 16.0*+gwt 2.6 RC4,I got this error:

[ERROR] Errors in 
'jar:file:/home/alex/workspace/DSC-Lib/lib/*guava-gwt-15.0*.jar!/com/google/common/base/super/com/google/common/base/CharMatcher.java'|


So, is this Guava 16 or Guava 15? (emphasis mine above)
--
You received this message because you are subscribed to a topic in the 
Google Groups Google Web Toolkit group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-web-toolkit/ndwGu4y7DMo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
google-web-toolkit+unsubscr...@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


gwt+guava compilation error:[ERROR] Line 761: MAX_SIZE cannot be resolved or is not a field

2014-01-21 Thread Alex Luya


When compiling guava 16.0+gwt 2.6 RC4,I got this error:

[ERROR] Errors in 
'jar:file:/home/alex/workspace/DSC-Lib/lib/guava-gwt-15.0.jar!/com/google/common/base/super/com/google/common/base/CharMatcher.java'
[ERROR] Line 760: MAX_SIZE cannot be resolved or is not a field

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Google compilation error

2013-02-20 Thread hoda mashaly
 when i used class at 
 http://www.javapractices.com/topic/TopicAction.do?Id=82  in my web 
application i got after gwt compilation this



Compiling module com.se.ParametricAutomation
   Validating newly compiled units
  Ignored 2 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:821)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
at 
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198)
at 
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
  [ERROR] no source info: public interface 
java.awt.datatransfer.ClipboardOwner
extends java.lang.Object
/*   methods   */
public abstract void lostOwnership(java.awt.datatransfer.Clipboard, 
java.awt.datatransfer.Transferable) 



 org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
  [ERROR] at CopyPaste.java(11): class CopyPaste extends Object 
 com.google.gwt.dev.jjs.ast.JClassType

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Google compilation error

2013-02-20 Thread Jens
Out of the box you can only use java classes that are emulated by 
GWT: https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation

AWT and Swing are not emulated.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Compilation Error with jar dependency

2012-03-07 Thread Vicky
Solved it. Need to include java src files in the jar along with the
class files.

FYI, for folks who might not know, GWT needs the java source (and not
the byte code) to compile to javascript.

On Mar 6, 9:38 pm, Vicky vicky...@gmail.com wrote:
 Hi

 I am using GWT 2.4. I have a use case where i need to use classes from
 a certain jar file. As part of the GWT project in eclipse i added that
 jar file as a classpath dependency. With this my java compilation went
 through successfully. However when i tried to do a GWT compile it
 failed with the followingerror,

 [java]    [ERROR] An internal compiler exception occurred
 [java] com.google.gwt.dev.jjs.InternalCompilerException: Failed to get
 JNode
 [java]     at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
 140)
 [java]     at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
 730)
 [java]     at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
 $000(BuildTypeMap.java:99)
 [java]     at com.google.gwt.dev.jjs.impl.BuildTypeMap
 $BuildDeclMapVisitor.visit(BuildTypeMap.java:195)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:
 237)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.ForeachStatement.traverse(ForeachStatement.java:
 527)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:
 239)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
 1239)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
 687)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
 637)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
 [java]     at
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
 599)
 [java]     at
 com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
 33)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 284)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 233)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 145)
 [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:232)
 [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:198)
 [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
 [java]     at
 com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
 [java]     at
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
 82)
 [java]     at com.google.gwt.dev.Compiler.main(Compiler.java:177)
 [java]       [ERROR] nosourceinfo:publicinterface
 com.temp.operator.IBuilderOperator
 [java]     extends java.lang.Object
 [java] /*   methods   */
 [java]publicabstract java.lang.String getValue()
 [java]

 Firstly why is GWT not able to resolve this dependency. Secondly how
 do i solve this issue.

 Thanks,
 Vicky

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Compilation Error with jar dependency

2012-03-06 Thread Vicky
Hi

I am using GWT 2.4. I have a use case where i need to use classes from
a certain jar file. As part of the GWT project in eclipse i added that
jar file as a classpath dependency. With this my java compilation went
through successfully. However when i tried to do a GWT compile it
failed with the following error,

[java][ERROR] An internal compiler exception occurred
[java] com.google.gwt.dev.jjs.InternalCompilerException: Failed to get
JNode
[java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
140)
[java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
730)
[java] at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
$000(BuildTypeMap.java:99)
[java] at com.google.gwt.dev.jjs.impl.BuildTypeMap
$BuildDeclMapVisitor.visit(BuildTypeMap.java:195)
[java] at
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:
237)
[java] at
org.eclipse.jdt.internal.compiler.ast.ForeachStatement.traverse(ForeachStatement.java:
527)
[java] at
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:
239)
[java] at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
1239)
[java] at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
687)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
637)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
[java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
599)
[java] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
284)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
233)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:
145)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[java] at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java]   [ERROR] no source info: public interface
com.temp.operator.IBuilderOperator
[java] extends java.lang.Object
[java] /*   methods   */
[java] public abstract java.lang.String getValue()
[java]

Firstly why is GWT not able to resolve this dependency. Secondly how
do i solve this issue.

Thanks,
Vicky

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2011-11-22 Thread wangzheng422
use com.google.gwt.i18n.shared.DateTimeFormat instead.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vxteFPPZJ2kJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Maven compilation error

2011-11-06 Thread Anton Grinenko


On 4 ноя, 19:56, Hilco Wijbenga hilco.wijbe...@gmail.com wrote:
 On 4 November 2011 06:29, Anton Grinenko anton.grine...@gmail.com wrote:

  I use gwt 2.4 and maven 3.0.1 with  gwt-maven-plugin 2.4.0 in my
  application. During compilation I got an error:
  snip/
  The most strange thing that this error occurs not always. Sometimes
  maven build my project successfully. And sometimes I got this error.
  Can someone help me to solve this error?

 Does the same happen when you compile outside of Eclipse?

 You should upgrade Maven to the latest. Did it work with the previous
 gwt-maven-plugin?


I always compile outside of Eclipse.
org.eclipse.jdt.internal.compiler... package is situated in gwt-
dev-2.4.0.jar

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Maven compilation error

2011-11-04 Thread Anton Grinenko
Greetings,

I use gwt 2.4 and maven 3.0.1 with  gwt-maven-plugin 2.4.0 in my
application. During compilation I got an error:


[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ admin ---
[INFO] auto discovered modules [ua.ardas.admin.Admin]
[INFO] Compiling module ua.ardas.admin.Admin
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.ClassCastException:
org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding cannot be cast
to org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.Scope.findMemberType(Scope.java:
976)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.Scope.getMemberType(Scope.java:
2081)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.findNextTypeBinding(QualifiedTypeReference.java:
44)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.internalResolveType(ParameterizedQualifiedTypeReference.java:
162)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.resolveType(ParameterizedQualifiedTypeReference.java:
343)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveTypeArgument(TypeReference.java:
209)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveType(ParameterizedSingleTypeReference.java:
180)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.resolveType(ParameterizedSingleTypeReference.java:
282)
[INFO]  at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:
179)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:
1167)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:
867)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1010)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:
290)
[INFO]  at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:
185)
[INFO]  at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
719)
[INFO]  at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
376)
[INFO]  at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
[INFO]  at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:701)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:235)
[INFO]  at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
447)
[INFO]  at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
370)
[INFO]  at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
360)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
252)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
233)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
145)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]  at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]  at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
[INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]


The most strange thing that this error occurs not always. Sometimes
maven build my project successfully. And sometimes I got this error.
Can someone help me to solve this error?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Maven compilation error

2011-11-04 Thread Hilco Wijbenga
On 4 November 2011 06:29, Anton Grinenko anton.grine...@gmail.com wrote:
 I use gwt 2.4 and maven 3.0.1 with  gwt-maven-plugin 2.4.0 in my
 application. During compilation I got an error:
 snip/
 The most strange thing that this error occurs not always. Sometimes
 maven build my project successfully. And sometimes I got this error.
 Can someone help me to solve this error?

Does the same happen when you compile outside of Eclipse?

You should upgrade Maven to the latest. Did it work with the previous
gwt-maven-plugin?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



[gwt-contrib] Prevent an AutoBean property named property from causing a compilation error. (issue1505804)

2011-07-29 Thread bobv

Reviewers: rjrjr,

Message:
Review requested.

Description:
Prevent an AutoBean property named property from causing a compilation
error.
Patch by: bobv
Review by: rjrjr


Please review this at http://gwt-code-reviews.appspot.com/1505804/

Affected files:
  M  
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java

  M user/test/com/google/web/bindery/autobean/gwt/client/AutoBeanTest.java


Index:  
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java

===
---  
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java	 
(revision 10473)
+++  
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java	 
(working copy)

@@ -231,8 +231,9 @@
   String castType;
   if (returnType.isPrimitive() != null) {
 castType =  
returnType.isPrimitive().getQualifiedBoxedSourceName();

-// Boolean toReturn = getOrReify(foo);
-sw.println(%s toReturn = getOrReify(\%s\);, castType,  
method.getPropertyName());

+// Boolean toReturn = Outher.this.getOrReify(foo);
+sw.println(%s toReturn = %s.this.getOrReify(\%s\);,  
castType, type

+.getSimpleSourceName(), method.getPropertyName());
 // return toReturn == null ? false : toReturn;
 sw.println(return toReturn == null ? %s : toReturn;,  
returnType.isPrimitive()

 .getUninitializedFieldExpression());
@@ -241,17 +242,19 @@
 sw.println(return data.isNull(\%1$s\) ? null :  
data.get(\%1$s\);, method

 .getPropertyName());
   } else {
-// return (ReturnType) values.getOrReify(\foo\);
+// return (ReturnType) Outer.this.getOrReify(\foo\);
 castType = ModelUtils.getQualifiedBaseSourceName(returnType);
-sw.println(return (%s) getOrReify(\%s\);, castType,  
method.getPropertyName());
+sw.println(return (%s) %s.this.getOrReify(\%s\);,  
castType, type

+.getSimpleSourceName(), method.getPropertyName());
   }
 }
   break;
 case SET:
 case SET_BUILDER: {
   JParameter param = jmethod.getParameters()[0];
-  // setProperty(foo, parameter);
-  sw.println(setProperty(\%s\, %s);, method.getPropertyName(),  
param.getName());

+  // Other.this.setProperty(foo, parameter);
+  sw.println(%s.this.setProperty(\%s\, %s);,  
type.getSimpleSourceName(), method

+  .getPropertyName(), param.getName());
   if (JBeanMethod.SET_BUILDER.equals(method.getAction())) {
 sw.println(return this;);
   }
Index:  
user/test/com/google/web/bindery/autobean/gwt/client/AutoBeanTest.java

===
--- user/test/com/google/web/bindery/autobean/gwt/client/AutoBeanTest.java	 
(revision 10473)
+++ user/test/com/google/web/bindery/autobean/gwt/client/AutoBeanTest.java	 
(working copy)

@@ -15,14 +15,14 @@
  */
 package com.google.web.bindery.autobean.gwt.client;

+import com.google.gwt.core.client.GWT;
+import com.google.gwt.junit.client.GWTTestCase;
 import com.google.web.bindery.autobean.shared.AutoBean;
 import com.google.web.bindery.autobean.shared.AutoBeanFactory;
 import com.google.web.bindery.autobean.shared.AutoBeanFactory.Category;
 import com.google.web.bindery.autobean.shared.AutoBeanUtils;
 import com.google.web.bindery.autobean.shared.AutoBeanVisitor;
 import  
com.google.web.bindery.autobean.shared.AutoBeanVisitor.ParameterizationVisitor;

-import com.google.gwt.core.client.GWT;
-import com.google.gwt.junit.client.GWTTestCase;

 import java.util.ArrayList;
 import java.util.Collection;
@@ -42,6 +42,7 @@
 public static Object seen;

 public static T T __intercept(AutoBeanHasCall bean, T value) {
+  assertNotNull(bean);
   seen = value;
   return value;
 }
@@ -129,9 +130,14 @@
   interface Intf {
 int getInt();

+String getProperty();
+
 String getString();

 void setInt(int number);
+
+// Avoid name conflicts in AbstractAutoBean
+void setProperty(String value);

 void setString(String value);
   }
@@ -150,6 +156,7 @@

   static class RealIntf implements Intf {
 int i;
+String property;
 String string;

 @Override
@@ -161,6 +168,11 @@
   return i;
 }

+@Override
+public String getProperty() {
+  return property;
+}
+
 public String getString() {
   return string;
 }
@@ -172,6 +184,11 @@

 public void setInt(int number) {
   this.i = number;
+}
+
+@Override
+public void setProperty(String value) {
+  this.property = value;
 }

 public void setString(String value) {
@@ -473,7 +490,7 @@
 if (int.equals(propertyName)) {
   assertEquals(42, value);
   assertEquals(int.class

[gwt-contrib] Re: Prevent an AutoBean property named property from causing a compilation error. (issue1505804)

2011-07-29 Thread rjrjr

LGTM

On 2011/07/29 16:59:28, bobv wrote:

Review requested.



http://gwt-code-reviews.appspot.com/1505804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Prevent an AutoBean property named property from causing a compilation error. (issue1505804)

2011-07-29 Thread rjrjr


http://gwt-code-reviews.appspot.com/1505804/diff/1/user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java
File
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java
(right):

http://gwt-code-reviews.appspot.com/1505804/diff/1/user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java#newcode234
user/src/com/google/web/bindery/autobean/gwt/rebind/AutoBeanFactoryGenerator.java:234:
// Boolean toReturn = Outher.this.getOrReify(foo);
Outher

http://gwt-code-reviews.appspot.com/1505804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: I am using xsrf and I am getting Compilation error ?

2011-05-31 Thread suersh babu
This issue occured because of no disk space, so I delete the temp files, now
this module is compiling.


On Mon, May 30, 2011 at 10:51 AM, suersh babu sureshgbab...@gmail.comwrote:

 Hi,

 I am using GWT 2.3 with MVP frame work, also I am using xsrf in my module
 when I try to compile my module I am getting following error

 [ERROR] Unexpected
 java.lang.ExceptionInInitializerError
 at com.google.gwt.dev.javac.CompiledClass.clinit(CompiledClass.java:36)
 at
 com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.createCompiledClass(JdtCompiler.java:269)
  at
 com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:240)
 at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
  at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:690)
 at
 com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:215)
  at
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:406)
 at
 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:299)
  at
 com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325)
 at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
 at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
  at com.google.gwt.dev.Compiler.run(Compiler.java:215)
 at com.google.gwt.dev.Compiler.run(Compiler.java:187)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
 at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
  at
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
 at com.google.gwt.dev.Compiler.main(Compiler.java:166)
 Caused by: java.lang.RuntimeException: Unable to initialize byte cache
 at com.google.gwt.dev.util.DiskCache.init(DiskCache.java:85)
  at com.google.gwt.dev.util.DiskCache.clinit(DiskCache.java:66)
 ... 18 more
 Caused by: java.io.IOException: The directory or file cannot be created
 at java.io.WinNTFileSystem.createFileExclusively(Native Method)
  at java.io.File.checkAndCreate(File.java:1704)
 at java.io.File.createTempFile(File.java:1793)
  at java.io.File.createTempFile(File.java:1830)
 at com.google.gwt.dev.util.DiskCache.init(DiskCache.java:75)
  ... 19 more


 Any idea why this error appear when I compile ?.



 --
 Regards
 Suresh Babu G

 http://www.accountingguru.in/




-- 
Regards
Suresh Babu G

http://www.accountingguru.in/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



I am using xsrf and I get Compilation error ?

2011-05-29 Thread suersh babu
Hi,

I am using GWT 2.3 with mvp frame work, also I am using xsrf

-- 
Regards
Suresh Babu G

http://www.accountingguru.in/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



I am using xsrf and I am getting Compilation error ?

2011-05-29 Thread suersh babu
Hi,

I am using GWT 2.3 with MVP frame work, also I am using xsrf in my module
when I try to compile my module I am getting following error

[ERROR] Unexpected
java.lang.ExceptionInInitializerError
at com.google.gwt.dev.javac.CompiledClass.clinit(CompiledClass.java:36)
at
com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.createCompiledClass(JdtCompiler.java:269)
at
com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:240)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:690)
at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:215)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:406)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:299)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
at com.google.gwt.dev.Compiler.run(Compiler.java:215)
at com.google.gwt.dev.Compiler.run(Compiler.java:187)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:166)
Caused by: java.lang.RuntimeException: Unable to initialize byte cache
at com.google.gwt.dev.util.DiskCache.init(DiskCache.java:85)
at com.google.gwt.dev.util.DiskCache.clinit(DiskCache.java:66)
... 18 more
Caused by: java.io.IOException: The directory or file cannot be created
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at java.io.File.createTempFile(File.java:1830)
at com.google.gwt.dev.util.DiskCache.init(DiskCache.java:75)
... 19 more


Any idea why this error appear when I compile ?.



-- 
Regards
Suresh Babu G

http://www.accountingguru.in/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I18N compilation error

2011-01-31 Thread nacho
Do you have your resource properties file?

*Begin by creating a default properties file called MyConstants.propertiesin 
your GWT project. You can place the file anywhere in your module's source 
path, but the .properties file and corresponding interface must be in the 
same package. It's fine to place the file in the same package as your 
module's entry point class.* 
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nConstants.html#Constants

For example in com/google/gwt/i18n/client/Constants.properties containing

buttonText=Text of the button

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I18N compilation error

2011-01-31 Thread bindu


Thanks for the reply . My problem got resolved. The mistake i did is 
giving different name for the resource properties file and interface.


On 1/31/2011 6:41 PM, nacho wrote:

Do you have your resource properties file?

/Begin by creating a default properties file called 
MyConstants.properties in your GWT project. You can place the file 
anywhere in your module's source path, but the .properties file and 
corresponding interface must be in the same package. It's fine to 
place the file in the same package as your module's entry point 
class./ 
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nConstants.html#Constants


For example in com/google/gwt/i18n/client/Constants.properties containing

buttonText=Text of the button

--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



I18N compilation error

2011-01-29 Thread bindu

 Hi All,

Pls help me with the following error. iam using gwt 2.0 and also tested 
with gwt 2.1


[DEBUG] [logindemo] - Rebinding org.i18n.client.MyConstants
[DEBUG] [logindemo] - Invoking generator 
com.google.gwt.i18n.rebind.LocalizableGenerator
[TRACE] [logindemo] - Processing interface 
org.i18n.client.MyConstants

[TRACE] [logindemo] - Generating method body for buttonText()
[ERROR] [logindemo] - No resource found for key 
'buttonText'

[WARN] [logindemo] - Searched the following resources:
[ERROR] [logindemo] - Deferred binding failed for 
'org.i18n.client.MyConstants'; expect subsequent failures
[ERROR] [logindemo] - Failed to create an instance of 
'org.i18n.client.LoginDemo' via deferred binding
[ERROR] [logindemo] - Unable to load module entry point class 
org.i18n.client.LoginDemo (see associated exception for details)
[ERROR] [logindemo] - Failed to load module 'logindemo' from user agent 
'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.10 
(KHTML, like Gecko)


this is my MyConstants

import com.google.gwt.i18n.client.Constants;

public interface MyConstants extends Constants{
String buttonText();

}

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-23 Thread Coelho

using your original command
mvn 
archetype:generate -DarchetypeRepository=repo1.maven.org -DarchetypeGroupId=org.codehaus.mojo 
-DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.1.0-1


the script is asking for a  groupId

then arctifactId

then Module

and asks for confirmation (Y)

and builds OK ( BUILD SUCCESS)

the mvn package works



- Original Message - 
From: Frank Bølviken frank.bolvi...@gmail.com

To: Google Web Toolkit google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 7:22 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error


I just dont understund why I cant use the gwt-maven-plugin 2.1.0-1,
which comes with gwt 2.1.0 and is easily integrated with eclipse etc?
Can you please try and run that command, and give me your findings?

Frank

On Dec 22, 6:54 pm, Coelho metronome.ba...@worldonline.fr wrote:

Somehow the plugin tha generates the 232 has been changed
( it asket for a version after the 232 and doesn't ask anymore )

You can build webapp for gwt with mvn archetype:generate
# 15
# 276
# 60
but 232 was the only one to generate a pom with gwt 2.1

you can probably change the version in 15 60 and 276

Patrick







- Original Message -
From: Coelho metronome.ba...@worldonline.fr
To: google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 6:38 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error

though I don't know why but I 'v used this command with succes several 
times

but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with
the same error ?

I can still mvn package on existin projects !

Patrick

- Original Message -
From: Frank B lviken frank.bolvi...@gmail.com
To: Google Web Toolkit google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 6:13 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error

I thought it was supposed to be simpler with the new gwt-maven-plugin
2.1.0-1 with eclipse etc.. :P

On Dec 22, 5:57 pm, Frank B lviken frank.bolvi...@gmail.com wrote:
 When i tried that, I get:

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 18.320s
 [INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
 [INFO] Final Memory: 7M/77M
 [INFO]
 
 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
 archetype-plugin:2
 .0:generate (default-cli) on project standalone-pom: Template 'src/
 main/resource
 s/layer.xml' not in directory 'src/main/java' - [Help 1]
 [ERROR]

 On Dec 22, 5:42 pm, Metronome / Basic

 metronome.ba...@worldonline.fr wrote:
  You can create a simple project with the mvn achetype:generate
  # 232 with maven 3

  - Original Message -
  From: Frank B lviken frank.bolvi...@gmail.com
  To: Google Web Toolkit google-web-toolkit@googlegroups.com
  Sent: Wednesday, December 22, 2010 5:33 PM
  Subject: gwt-maven-plugin 2.1.0-1 compilation error

   Hi,

   I dont know if there is anyting I have missed. But I'm trying to
   create a simple GWT project with the new gwt-maven-plugin.
   I run the following command:
   mvn archetype:generate
   -DarchetypeRepository=repo1.maven.org
   -DarchetypeGroupId=org.codehaus.mojo
   -DarchetypeArtifactId=gwt-maven-plugin
   -DarchetypeVersion=2.1.0-1

   I input the following text:
   Define value for property 'groupId': : com.test.hello
   Define value for property 'artifactId': : gwt
   Define value for property 'version': 1.0-SNAPSHOT:
   Define value for property 'package': com.test.hello:
   Define value for property 'module': : gwt

   The project is created successfully. But when I try to gwt:compile 
   it,

   the following error arrives:
   [INFO] Compiling module com.test.hello.gwt
   [INFO] Validating newly compiled units
   [INFO] [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
   test/hello/client/gwt.java'
   [INFO] [ERROR] Line 35: GreetingServiceAsync cannot be
   resolved to a type
   [INFO] [ERROR] Line 35: No source code is available for type
   GreetingServiceAsync; did you forget to inherit a
   required module?
   [INFO] [ERROR] Line 35: The method create(Class?) from the
   type GWT refers to the missing type GreetingServic
   eAsync
   [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
   [INFO] [ERROR] Line 37: No source code is available for type
   Messages; did you forget to inherit a required mod
   ule?
   [INFO] [ERROR] Line 37: The method create(Class?) from the
   type GWT refers to the missing type Messages
   [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
   [INFO] [ERROR] Line 43: Messages cannot be resolved to a type
   [INFO] [ERROR] Line 45: Messages cannot be resolved to a type
   [INFO] [ERROR] Line 123: GreetingServiceAsync cannot be
   resolved to a type
   [INFO] Finding entry point classes
   [INFO] [ERROR] Unable to find type 'com.test.hello.client..gwt'
   [INFO] [ERROR] Hint: Previous compiler

gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
Hi,

I dont know if there is anyting I have missed. But I'm trying to
create a simple GWT project with the new gwt-maven-plugin.
I run the following command:
mvn archetype:generate
-DarchetypeRepository=repo1.maven.org
-DarchetypeGroupId=org.codehaus.mojo
-DarchetypeArtifactId=gwt-maven-plugin
-DarchetypeVersion=2.1.0-1

I input the following text:
Define value for property 'groupId': : com.test.hello
Define value for property 'artifactId': : gwt
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.test.hello:
Define value for property 'module': : gwt

The project is created successfully. But when I try to gwt:compile it,
the following error arrives:
[INFO] Compiling module com.test.hello.gwt
[INFO]Validating newly compiled units
[INFO]   [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
test/hello/client/gwt.java'
[INFO]  [ERROR] Line 35: GreetingServiceAsync cannot be
resolved to a type
[INFO]  [ERROR] Line 35: No source code is available for type
GreetingServiceAsync; did you forget to inherit a
required module?
[INFO]  [ERROR] Line 35: The method create(Class?) from the
type GWT refers to the missing type GreetingServic
eAsync
[INFO]  [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 37: No source code is available for type
Messages; did you forget to inherit a required mod
ule?
[INFO]  [ERROR] Line 37: The method create(Class?) from the
type GWT refers to the missing type Messages
[INFO]  [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 43: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 45: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 123: GreetingServiceAsync cannot be
resolved to a type
[INFO]Finding entry point classes
[INFO]   [ERROR] Unable to find type 'com.test.hello.client.gwt'
[INFO]  [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO]  [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module o
r a module may not be adding its source path entries properly
[INFO]

[ERROR] BUILD ERROR
[INFO]


What am I missing here?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Metronome / Basic



You can create a simple project with the mvn achetype:generate
# 232 with maven 3




- Original Message - 
From: Frank Bølviken frank.bolvi...@gmail.com

To: Google Web Toolkit google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 5:33 PM
Subject: gwt-maven-plugin 2.1.0-1 compilation error



Hi,

I dont know if there is anyting I have missed. But I'm trying to
create a simple GWT project with the new gwt-maven-plugin.
I run the following command:
mvn archetype:generate
-DarchetypeRepository=repo1.maven.org
-DarchetypeGroupId=org.codehaus.mojo
-DarchetypeArtifactId=gwt-maven-plugin
-DarchetypeVersion=2.1.0-1

I input the following text:
Define value for property 'groupId': : com.test.hello
Define value for property 'artifactId': : gwt
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.test.hello:
Define value for property 'module': : gwt

The project is created successfully. But when I try to gwt:compile it,
the following error arrives:
[INFO] Compiling module com.test.hello.gwt
[INFO]Validating newly compiled units
[INFO]   [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
test/hello/client/gwt.java'
[INFO]  [ERROR] Line 35: GreetingServiceAsync cannot be
resolved to a type
[INFO]  [ERROR] Line 35: No source code is available for type
GreetingServiceAsync; did you forget to inherit a
required module?
[INFO]  [ERROR] Line 35: The method create(Class?) from the
type GWT refers to the missing type GreetingServic
eAsync
[INFO]  [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 37: No source code is available for type
Messages; did you forget to inherit a required mod
ule?
[INFO]  [ERROR] Line 37: The method create(Class?) from the
type GWT refers to the missing type Messages
[INFO]  [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 43: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 45: Messages cannot be resolved to a type
[INFO]  [ERROR] Line 123: GreetingServiceAsync cannot be
resolved to a type
[INFO]Finding entry point classes
[INFO]   [ERROR] Unable to find type 'com.test.hello.client.gwt'
[INFO]  [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO]  [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module o
r a module may not be adding its source path entries properly
[INFO]

[ERROR] BUILD ERROR
[INFO]


What am I missing here?

--
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.

To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.





-
Aucun virus trouvé dans ce message.
Analyse effectuée par AVG - www.avg.fr
Version: 10.0.1170 / Base de données virale: 426/3331 - Date: 22/12/2010



--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
When i tried that, I get:

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 18.320s
[INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
[INFO] Final Memory: 7M/77M
[INFO]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-
archetype-plugin:2
.0:generate (default-cli) on project standalone-pom: Template 'src/
main/resource
s/layer.xml' not in directory 'src/main/java' - [Help 1]
[ERROR]

On Dec 22, 5:42 pm, Metronome / Basic
metronome.ba...@worldonline.fr wrote:
 You can create a simple project with the mvn achetype:generate
 # 232 with maven 3







 - Original Message -
 From: Frank B lviken frank.bolvi...@gmail.com
 To: Google Web Toolkit google-web-toolkit@googlegroups.com
 Sent: Wednesday, December 22, 2010 5:33 PM
 Subject: gwt-maven-plugin 2.1.0-1 compilation error

  Hi,

  I dont know if there is anyting I have missed. But I'm trying to
  create a simple GWT project with the new gwt-maven-plugin.
  I run the following command:
  mvn archetype:generate
  -DarchetypeRepository=repo1.maven.org
  -DarchetypeGroupId=org.codehaus.mojo
  -DarchetypeArtifactId=gwt-maven-plugin
  -DarchetypeVersion=2.1.0-1

  I input the following text:
  Define value for property 'groupId': : com.test.hello
  Define value for property 'artifactId': : gwt
  Define value for property 'version': 1.0-SNAPSHOT:
  Define value for property 'package': com.test.hello:
  Define value for property 'module': : gwt

  The project is created successfully. But when I try to gwt:compile it,
  the following error arrives:
  [INFO] Compiling module com.test.hello.gwt
  [INFO]    Validating newly compiled units
  [INFO]       [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
  test/hello/client/gwt.java'
  [INFO]          [ERROR] Line 35: GreetingServiceAsync cannot be
  resolved to a type
  [INFO]          [ERROR] Line 35: No source code is available for type
  GreetingServiceAsync; did you forget to inherit a
  required module?
  [INFO]          [ERROR] Line 35: The method create(Class?) from the
  type GWT refers to the missing type GreetingServic
  eAsync
  [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO]          [ERROR] Line 37: No source code is available for type
  Messages; did you forget to inherit a required mod
  ule?
  [INFO]          [ERROR] Line 37: The method create(Class?) from the
  type GWT refers to the missing type Messages
  [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO]          [ERROR] Line 43: Messages cannot be resolved to a type
  [INFO]          [ERROR] Line 45: Messages cannot be resolved to a type
  [INFO]          [ERROR] Line 123: GreetingServiceAsync cannot be
  resolved to a type
  [INFO]    Finding entry point classes
  [INFO]       [ERROR] Unable to find type 'com.test.hello.client.gwt'
  [INFO]          [ERROR] Hint: Previous compiler errors may have made
  this type unavailable
  [INFO]          [ERROR] Hint: Check the inheritance chain from your
  module; it may not be inheriting a required module o
  r a module may not be adding its source path entries properly
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  

  What am I missing here?

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

  -
  Aucun virus trouv dans ce message.
  Analyse effectu e par AVG -www.avg.fr
  Version: 10.0.1170 / Base de donn es virale: 426/3331 - Date: 22/12/2010

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
I thought it was supposed to be simpler with the new gwt-maven-plugin
2.1.0-1 with eclipse etc.. :P

On Dec 22, 5:57 pm, Frank Bølviken frank.bolvi...@gmail.com wrote:
 When i tried that, I get:

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 18.320s
 [INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
 [INFO] Final Memory: 7M/77M
 [INFO]
 
 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
 archetype-plugin:2
 .0:generate (default-cli) on project standalone-pom: Template 'src/
 main/resource
 s/layer.xml' not in directory 'src/main/java' - [Help 1]
 [ERROR]

 On Dec 22, 5:42 pm, Metronome / Basic







 metronome.ba...@worldonline.fr wrote:
  You can create a simple project with the mvn achetype:generate
  # 232 with maven 3

  - Original Message -
  From: Frank B lviken frank.bolvi...@gmail.com
  To: Google Web Toolkit google-web-toolkit@googlegroups.com
  Sent: Wednesday, December 22, 2010 5:33 PM
  Subject: gwt-maven-plugin 2.1.0-1 compilation error

   Hi,

   I dont know if there is anyting I have missed. But I'm trying to
   create a simple GWT project with the new gwt-maven-plugin.
   I run the following command:
   mvn archetype:generate
   -DarchetypeRepository=repo1.maven.org
   -DarchetypeGroupId=org.codehaus.mojo
   -DarchetypeArtifactId=gwt-maven-plugin
   -DarchetypeVersion=2.1.0-1

   I input the following text:
   Define value for property 'groupId': : com.test.hello
   Define value for property 'artifactId': : gwt
   Define value for property 'version': 1.0-SNAPSHOT:
   Define value for property 'package': com.test.hello:
   Define value for property 'module': : gwt

   The project is created successfully. But when I try to gwt:compile it,
   the following error arrives:
   [INFO] Compiling module com.test.hello.gwt
   [INFO]    Validating newly compiled units
   [INFO]       [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
   test/hello/client/gwt.java'
   [INFO]          [ERROR] Line 35: GreetingServiceAsync cannot be
   resolved to a type
   [INFO]          [ERROR] Line 35: No source code is available for type
   GreetingServiceAsync; did you forget to inherit a
   required module?
   [INFO]          [ERROR] Line 35: The method create(Class?) from the
   type GWT refers to the missing type GreetingServic
   eAsync
   [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
   [INFO]          [ERROR] Line 37: No source code is available for type
   Messages; did you forget to inherit a required mod
   ule?
   [INFO]          [ERROR] Line 37: The method create(Class?) from the
   type GWT refers to the missing type Messages
   [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
   [INFO]          [ERROR] Line 43: Messages cannot be resolved to a type
   [INFO]          [ERROR] Line 45: Messages cannot be resolved to a type
   [INFO]          [ERROR] Line 123: GreetingServiceAsync cannot be
   resolved to a type
   [INFO]    Finding entry point classes
   [INFO]       [ERROR] Unable to find type 'com.test.hello.client.gwt'
   [INFO]          [ERROR] Hint: Previous compiler errors may have made
   this type unavailable
   [INFO]          [ERROR] Hint: Check the inheritance chain from your
   module; it may not be inheriting a required module o
   r a module may not be adding its source path entries properly
   [INFO]
   
   [ERROR] BUILD ERROR
   [INFO]
   

   What am I missing here?

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

   -
   Aucun virus trouv dans ce message.
   Analyse effectu e par AVG -www.avg.fr
   Version: 10.0.1170 / Base de donn es virale: 426/3331 - Date: 22/12/2010

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Coelho
though I don't know why but I 'v used this command with succes several times 
but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with

the same error ?

I can still mvn package on existin projects !

Patrick

- Original Message - 
From: Frank Bølviken frank.bolvi...@gmail.com

To: Google Web Toolkit google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 6:13 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error


I thought it was supposed to be simpler with the new gwt-maven-plugin
2.1.0-1 with eclipse etc.. :P

On Dec 22, 5:57 pm, Frank Bølviken frank.bolvi...@gmail.com wrote:

When i tried that, I get:

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 18.320s
[INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
[INFO] Final Memory: 7M/77M
[INFO]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-
archetype-plugin:2
.0:generate (default-cli) on project standalone-pom: Template 'src/
main/resource
s/layer.xml' not in directory 'src/main/java' - [Help 1]
[ERROR]

On Dec 22, 5:42 pm, Metronome / Basic







metronome.ba...@worldonline.fr wrote:
 You can create a simple project with the mvn achetype:generate
 # 232 with maven 3

 - Original Message -
 From: Frank B lviken frank.bolvi...@gmail.com
 To: Google Web Toolkit google-web-toolkit@googlegroups.com
 Sent: Wednesday, December 22, 2010 5:33 PM
 Subject: gwt-maven-plugin 2.1.0-1 compilation error

  Hi,

  I dont know if there is anyting I have missed. But I'm trying to
  create a simple GWT project with the new gwt-maven-plugin.
  I run the following command:
  mvn archetype:generate
  -DarchetypeRepository=repo1.maven.org
  -DarchetypeGroupId=org.codehaus.mojo
  -DarchetypeArtifactId=gwt-maven-plugin
  -DarchetypeVersion=2.1.0-1

  I input the following text:
  Define value for property 'groupId': : com.test.hello
  Define value for property 'artifactId': : gwt
  Define value for property 'version': 1.0-SNAPSHOT:
  Define value for property 'package': com.test.hello:
  Define value for property 'module': : gwt

  The project is created successfully. But when I try to gwt:compile it,
  the following error arrives:
  [INFO] Compiling module com.test.hello.gwt
  [INFO] Validating newly compiled units
  [INFO] [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
  test/hello/client/gwt.java'
  [INFO] [ERROR] Line 35: GreetingServiceAsync cannot be
  resolved to a type
  [INFO] [ERROR] Line 35: No source code is available for type
  GreetingServiceAsync; did you forget to inherit a
  required module?
  [INFO] [ERROR] Line 35: The method create(Class?) from the
  type GWT refers to the missing type GreetingServic
  eAsync
  [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 37: No source code is available for type
  Messages; did you forget to inherit a required mod
  ule?
  [INFO] [ERROR] Line 37: The method create(Class?) from the
  type GWT refers to the missing type Messages
  [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 43: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 45: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 123: GreetingServiceAsync cannot be
  resolved to a type
  [INFO] Finding entry point classes
  [INFO] [ERROR] Unable to find type 'com.test.hello.client..gwt'
  [INFO] [ERROR] Hint: Previous compiler errors may have made
  this type unavailable
  [INFO] [ERROR] Hint: Check the inheritance chain from your
  module; it may not be inheriting a required module o
  r a module may not be adding its source path entries properly
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  

  What am I missing here?

  --
  You received this message because you are subscribed to the Google 
  Groups

  Google Web Toolkit group.
  To post to this group, send email to 
  google-web-tool...@googlegroups.com.

  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

  -
  Aucun virus trouv dans ce message.
  Analyse effectu e par AVG -www.avg.fr
  Version: 10.0.1170 / Base de donn es virale: 426/3331 - Date: 
  22/12/2010


--
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.

To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.





-
Aucun virus trouvé dans ce message.
Analyse effectuée par AVG - www.avg.fr
Version

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Coelho

Somehow the plugin tha generates the 232 has been changed
( it asket for a version after the 232 and doesn't ask anymore )

You can build webapp for gwt with mvn archetype:generate
# 15
# 276
# 60
but 232 was the only one to generate a pom with gwt 2.1

you can probably change the version in 15 60 and 276

Patrick

- Original Message - 
From: Coelho metronome.ba...@worldonline.fr

To: google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 6:38 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error


though I don't know why but I 'v used this command with succes several times
but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with
the same error ?

I can still mvn package on existin projects !

Patrick

- Original Message - 
From: Frank Bølviken frank.bolvi...@gmail.com

To: Google Web Toolkit google-web-toolkit@googlegroups.com
Sent: Wednesday, December 22, 2010 6:13 PM
Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error


I thought it was supposed to be simpler with the new gwt-maven-plugin
2.1.0-1 with eclipse etc.. :P

On Dec 22, 5:57 pm, Frank Bølviken frank.bolvi...@gmail.com wrote:

When i tried that, I get:

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 18.320s
[INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
[INFO] Final Memory: 7M/77M
[INFO]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-
archetype-plugin:2
.0:generate (default-cli) on project standalone-pom: Template 'src/
main/resource
s/layer.xml' not in directory 'src/main/java' - [Help 1]
[ERROR]

On Dec 22, 5:42 pm, Metronome / Basic







metronome.ba...@worldonline.fr wrote:
 You can create a simple project with the mvn achetype:generate
 # 232 with maven 3

 - Original Message -
 From: Frank B lviken frank.bolvi...@gmail.com
 To: Google Web Toolkit google-web-toolkit@googlegroups.com
 Sent: Wednesday, December 22, 2010 5:33 PM
 Subject: gwt-maven-plugin 2.1.0-1 compilation error

  Hi,

  I dont know if there is anyting I have missed. But I'm trying to
  create a simple GWT project with the new gwt-maven-plugin.
  I run the following command:
  mvn archetype:generate
  -DarchetypeRepository=repo1.maven.org
  -DarchetypeGroupId=org.codehaus.mojo
  -DarchetypeArtifactId=gwt-maven-plugin
  -DarchetypeVersion=2.1.0-1

  I input the following text:
  Define value for property 'groupId': : com.test.hello
  Define value for property 'artifactId': : gwt
  Define value for property 'version': 1.0-SNAPSHOT:
  Define value for property 'package': com.test.hello:
  Define value for property 'module': : gwt

  The project is created successfully. But when I try to gwt:compile it,
  the following error arrives:
  [INFO] Compiling module com.test.hello.gwt
  [INFO] Validating newly compiled units
  [INFO] [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
  test/hello/client/gwt.java'
  [INFO] [ERROR] Line 35: GreetingServiceAsync cannot be
  resolved to a type
  [INFO] [ERROR] Line 35: No source code is available for type
  GreetingServiceAsync; did you forget to inherit a
  required module?
  [INFO] [ERROR] Line 35: The method create(Class?) from the
  type GWT refers to the missing type GreetingServic
  eAsync
  [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 37: No source code is available for type
  Messages; did you forget to inherit a required mod
  ule?
  [INFO] [ERROR] Line 37: The method create(Class?) from the
  type GWT refers to the missing type Messages
  [INFO] [ERROR] Line 37: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 43: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 45: Messages cannot be resolved to a type
  [INFO] [ERROR] Line 123: GreetingServiceAsync cannot be
  resolved to a type
  [INFO] Finding entry point classes
  [INFO] [ERROR] Unable to find type 'com.test.hello.client..gwt'
  [INFO] [ERROR] Hint: Previous compiler errors may have made
  this type unavailable
  [INFO] [ERROR] Hint: Check the inheritance chain from your
  module; it may not be inheriting a required module o
  r a module may not be adding its source path entries properly
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  

  What am I missing here?

  --
  You received this message because you are subscribed to the Google 
  Groups

  Google Web Toolkit group.
  To post to this group, send email to 
  google-web-tool...@googlegroups.com.

  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

  -
  Aucun virus trouv dans ce message.
  Analyse effectu e par AVG -www.avg.fr
  Version

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
I just dont understund why I cant use the gwt-maven-plugin 2.1.0-1,
which comes with gwt 2.1.0 and is easily integrated with eclipse etc?
Can you please try and run that command, and give me your findings?

Frank

On Dec 22, 6:54 pm, Coelho metronome.ba...@worldonline.fr wrote:
 Somehow the plugin tha generates the 232 has been changed
 ( it asket for a version after the 232 and doesn't ask anymore )

 You can build webapp for gwt with mvn archetype:generate
 # 15
 # 276
 # 60
 but 232 was the only one to generate a pom with gwt 2.1

 you can probably change the version in 15 60 and 276

 Patrick







 - Original Message -
 From: Coelho metronome.ba...@worldonline.fr
 To: google-web-toolkit@googlegroups.com
 Sent: Wednesday, December 22, 2010 6:38 PM
 Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error

 though I don't know why but I 'v used this command with succes several times
 but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with
 the same error ?

 I can still mvn package on existin projects !

 Patrick

 - Original Message -
 From: Frank B lviken frank.bolvi...@gmail.com
 To: Google Web Toolkit google-web-toolkit@googlegroups.com
 Sent: Wednesday, December 22, 2010 6:13 PM
 Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error

 I thought it was supposed to be simpler with the new gwt-maven-plugin
 2.1.0-1 with eclipse etc.. :P

 On Dec 22, 5:57 pm, Frank B lviken frank.bolvi...@gmail.com wrote:
  When i tried that, I get:

  [INFO] BUILD FAILURE
  [INFO]
  
  [INFO] Total time: 18.320s
  [INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
  [INFO] Final Memory: 7M/77M
  [INFO]
  
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
  archetype-plugin:2
  .0:generate (default-cli) on project standalone-pom: Template 'src/
  main/resource
  s/layer.xml' not in directory 'src/main/java' - [Help 1]
  [ERROR]

  On Dec 22, 5:42 pm, Metronome / Basic

  metronome.ba...@worldonline.fr wrote:
   You can create a simple project with the mvn achetype:generate
   # 232 with maven 3

   - Original Message -
   From: Frank B lviken frank.bolvi...@gmail.com
   To: Google Web Toolkit google-web-toolkit@googlegroups.com
   Sent: Wednesday, December 22, 2010 5:33 PM
   Subject: gwt-maven-plugin 2.1.0-1 compilation error

Hi,

I dont know if there is anyting I have missed. But I'm trying to
create a simple GWT project with the new gwt-maven-plugin.
I run the following command:
mvn archetype:generate
-DarchetypeRepository=repo1.maven.org
-DarchetypeGroupId=org.codehaus.mojo
-DarchetypeArtifactId=gwt-maven-plugin
-DarchetypeVersion=2.1.0-1

I input the following text:
Define value for property 'groupId': : com.test.hello
Define value for property 'artifactId': : gwt
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.test.hello:
Define value for property 'module': : gwt

The project is created successfully. But when I try to gwt:compile it,
the following error arrives:
[INFO] Compiling module com.test.hello.gwt
[INFO] Validating newly compiled units
[INFO] [ERROR] Errors in 'file:/C:/PATH/gwt/src/main/java/com/
test/hello/client/gwt.java'
[INFO] [ERROR] Line 35: GreetingServiceAsync cannot be
resolved to a type
[INFO] [ERROR] Line 35: No source code is available for type
GreetingServiceAsync; did you forget to inherit a
required module?
[INFO] [ERROR] Line 35: The method create(Class?) from the
type GWT refers to the missing type GreetingServic
eAsync
[INFO] [ERROR] Line 37: Messages cannot be resolved to a type
[INFO] [ERROR] Line 37: No source code is available for type
Messages; did you forget to inherit a required mod
ule?
[INFO] [ERROR] Line 37: The method create(Class?) from the
type GWT refers to the missing type Messages
[INFO] [ERROR] Line 37: Messages cannot be resolved to a type
[INFO] [ERROR] Line 43: Messages cannot be resolved to a type
[INFO] [ERROR] Line 45: Messages cannot be resolved to a type
[INFO] [ERROR] Line 123: GreetingServiceAsync cannot be
resolved to a type
[INFO] Finding entry point classes
[INFO] [ERROR] Unable to find type 'com.test.hello.client..gwt'
[INFO] [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO] [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module o
r a module may not be adding its source path entries properly
[INFO]

[ERROR] BUILD ERROR
[INFO]


What am I missing here?

--
You received this message

Re: gwt 2.1.0 m3 compilation error

2010-09-01 Thread Rokesh
Hi,
@chiaponne I'm still working on it.

The link that was provided by Travis did help, but now I don't get the
application startedwhile eclipse doesn't give me any compilation
errors.

I hope to have an answer soon.

Rokesh

On Aug 31, 8:43 pm, chiappone chiapp...@gmail.com wrote:
 Could you provide an example of using the new ListDataProvider class?
 I had a ListViewAdapter working with M2 but an unable to get the new
 implementations working.

 thanks.

 On Aug 25, 1:23 pm, Rokesh rjan...@gmail.com wrote:







  Hi,

  I'm giving gwt2.1 m3 a try with my current code (http://
  twiggered.appspot.com), which was built with gwt 2.1 m2).
  I had to change some things in order to get rid of the compilation
  errors:

  -ListDataProviderand ListViewAdapter
  - SimplePager (not a generic anymore)

  and some other API changes.

  The thing is, I got this corrected and now I'm trying to redeploy it
  on appengine
  and I get a compilation error (without stacktrace).

  The session data is like this

  eclipse.buildId=unknown
  java.version=1.6.0_20
  java.vendor=Apple Inc.
  BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
  Framework arguments:  -product org.eclipse.epp.package.jee.product -
  keyring /Users/rjankie/.eclipse_keyring -showlocation
  Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
  org.eclipse.epp.package.jee.product -keyring /Users/
  x/.eclipse_keyring -showlocation

  Can I still use the plugins of m2 in eclipse ?
  Unfortunately I haven't seen a page 
  likehttp://code.google.com/webtoolkit/download_2_1_m2.html
  for the m3 build (with updates on the eclipse (deploy)plugin).

  The plugin for devmode in the browser reacts like this

      Cross-site hosted mode not yet implemented. See 
  issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=2079

  I really want to give this m3 a try, but so far it's not a success.

  Hope to hear from you guys soon.

  Rokesh

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt 2.1.0 m3 compilation error

2010-08-31 Thread chiappone
Could you provide an example of using the new ListDataProvider class?
I had a ListViewAdapter working with M2 but an unable to get the new
implementations working.

thanks.

On Aug 25, 1:23 pm, Rokesh rjan...@gmail.com wrote:
 Hi,

 I'm giving gwt2.1 m3 a try with my current code (http://
 twiggered.appspot.com), which was built with gwt 2.1 m2).
 I had to change some things in order to get rid of the compilation
 errors:

 -ListDataProviderand ListViewAdapter
 - SimplePager (not a generic anymore)

 and some other API changes.

 The thing is, I got this corrected and now I'm trying to redeploy it
 on appengine
 and I get a compilation error (without stacktrace).

 The session data is like this

 eclipse.buildId=unknown
 java.version=1.6.0_20
 java.vendor=Apple Inc.
 BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
 Framework arguments:  -product org.eclipse.epp.package.jee.product -
 keyring /Users/rjankie/.eclipse_keyring -showlocation
 Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
 org.eclipse.epp.package.jee.product -keyring /Users/
 x/.eclipse_keyring -showlocation

 Can I still use the plugins of m2 in eclipse ?
 Unfortunately I haven't seen a page 
 likehttp://code.google.com/webtoolkit/download_2_1_m2.html
 for the m3 build (with updates on the eclipse (deploy)plugin).

 The plugin for devmode in the browser reacts like this

     Cross-site hosted mode not yet implemented. See 
 issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=2079

 I really want to give this m3 a try, but so far it's not a success.

 Hope to hear from you guys soon.

 Rokesh

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwt 2.1.0 m3 compilation error

2010-08-25 Thread Rokesh
Hi,

I'm giving gwt2.1 m3 a try with my current code (http://
twiggered.appspot.com), which was built with gwt 2.1 m2).
I had to change some things in order to get rid of the compilation
errors:

-ListDataProvider and ListViewAdapter
- SimplePager (not a generic anymore)

and some other API changes.

The thing is, I got this corrected and now I'm trying to redeploy it
on appengine
and I get a compilation error (without stacktrace).

The session data is like this

eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product -
keyring /Users/rjankie/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
org.eclipse.epp.package.jee.product -keyring /Users/
x/.eclipse_keyring -showlocation


Can I still use the plugins of m2 in eclipse ?
Unfortunately I haven't seen a page like 
http://code.google.com/webtoolkit/download_2_1_m2.html
for the m3 build (with updates on the eclipse (deploy)plugin).

The plugin for devmode in the browser reacts like this

Cross-site hosted mode not yet implemented. See issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=2079

I really want to give this m3 a try, but so far it's not a success.

Hope to hear from you guys soon.

Rokesh

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt 2.1.0 m3 compilation error

2010-08-25 Thread Travis Camechis
try
http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/eclipse/plugin/3.5/

On Wed, Aug 25, 2010 at 3:23 PM, Rokesh rjan...@gmail.com wrote:

 Hi,

 I'm giving gwt2.1 m3 a try with my current code (http://
 twiggered.appspot.com), which was built with gwt 2.1 m2).
 I had to change some things in order to get rid of the compilation
 errors:

 -ListDataProvider and ListViewAdapter
 - SimplePager (not a generic anymore)

 and some other API changes.

 The thing is, I got this corrected and now I'm trying to redeploy it
 on appengine
 and I get a compilation error (without stacktrace).

 The session data is like this

 eclipse.buildId=unknown
 java.version=1.6.0_20
 java.vendor=Apple Inc.
 BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
 Framework arguments:  -product org.eclipse.epp.package.jee.product -
 keyring /Users/rjankie/.eclipse_keyring -showlocation
 Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
 org.eclipse.epp.package.jee.product -keyring /Users/
 x/.eclipse_keyring -showlocation


 Can I still use the plugins of m2 in eclipse ?
 Unfortunately I haven't seen a page like
 http://code.google.com/webtoolkit/download_2_1_m2.html
 for the m3 build (with updates on the eclipse (deploy)plugin).

 The plugin for devmode in the browser reacts like this

Cross-site hosted mode not yet implemented. See issue
 http://code.google.com/p/google-web-toolkit/issues/detail?id=2079

 I really want to give this m3 a try, but so far it's not a success.

 Hope to hear from you guys soon.

 Rokesh

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-22 Thread rxm0203
I am getting following error in GWT development console when I try to
use Run Configuration from Eclipse.

00:00:20.360 [TRACE] Finding entry point classes
00:00:20.360 [ERROR] Unable to find type
'org.drools.guvnor.client.JBRMSEntryPoint'
00:00:20.407 [ERROR] Hint: Check that the type name
'org.drools.guvnor.client.JBRMSEntryPoint' is really what you meant
00:00:20.407 [ERROR] Hint: Check that your classpath includes 
all
required source roots
00:00:20.407 [ERROR] Failed to load module 'org.drools.guvnor.Guvnor'
from user agent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1059 Safari/
532.5' at localhost:2247

I tried workaround listed on following web link (Unable to find type
'com.foo.client.MyApp') without any success. Any ideas on resolution
will be helpful.

http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html

On Apr 21, 10:36 am, Rajeev Dayal rda...@google.com wrote:
 Great, glad it is working.



 On Wed, Apr 21, 2010 at 9:41 AM, rxm0203 rxm0...@gmail.com wrote:
  Here is the update. I removed the mentioned jar file from Drools-
  Guvnor's dependent projects class path. Now, I am able to compile
  successfully. Thanks for your help.

  On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
   I removed the mentioned jar file. I am still getting
  samecompilationerror. Which is second entry should I remove?

   On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:

These two entries look to be problematic:

  classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/

  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/

Are these jars required? Can you remove them?

On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
 Here are the contents of .classpath file.

 ?xml version=1.0 encoding=UTF-8?
 classpath
        classpathentry kind=src output=target/test-classes
  path=src/
 test/java/
        classpathentry excluding=**/*.java including=**
  kind=src
 output=target/test-classes path=src/test/resources/
        classpathentry including=**/*.java kind=src
 path=src/main/java/

        classpathentry excluding=**/*.java kind=src
  path=src/main/
 resources/
        classpathentry kind=var
 path=M2_REPO/javax/activation/activation/
 1.1/activation-1.1.jar/
        classpathentry kind=var
  path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
 api-3.0.jar/
        classpathentry kind=var
  path=M2_REPO/javax/el/el-api/1.2/el-
 api-1.2.jar/
        classpathentry kind=var
  path=M2_REPO/javax/el/el-ri/1.2/el-
 ri-1.2.jar/
        classpathentry kind=var
 path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
 jaxb-api-2.1.jar/
        classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
 jcr-1.0.jar/
        classpathentry kind=var
 path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
 api-1.2.jar/
        classpathentry kind=var
  path=M2_REPO/javax/servlet/jsp/jsp-api/
 2.1/jsp-api-2.1.jar/
        classpathentry kind=var
  path=M2_REPO/javax/transaction/jta/1.1/
 jta-1.1.jar/
        classpathentry kind=var path=M2_REPO/javax/persistence/
 persistence-api/1.0/persistence-api-1.0.jar/
        classpathentry kind=var
  path=M2_REPO/javax/servlet/servlet-api/
 2.3/servlet-api-2.3.jar/
        classpathentry kind=var
  path=M2_REPO/javax/xml/stream/stax-api/
 1.0-2/stax-api-1.0-2.jar/
        classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
 antlr-2.7.6.jar/
        classpathentry kind=var
  path=M2_REPO/org/antlr/antlr-runtime/
 3.1.3/antlr-runtime-3.1.3.jar/
        classpathentry kind=var
 path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

        classpathentry kind=var
  path=M2_REPO/asm/asm-attrs/1.5.3/asm-
 attrs-1.5.3.jar/
        classpathentry kind=var
  path=M2_REPO/avalon-framework/avalon-
 framework/4.1.3/avalon-framework-4.1.3.jar/
        classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
 jdk14/138/bcmail-jdk14-138.jar/
        classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
 jdk14/138/bcprov-jdk14-138.jar/
        classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
 cglib-2.1_3.jar/
        classpathentry kind=var
  path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
 cobogw-1.0.jar/
        classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/

  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/
        classpathentry kind=var
 path=M2_REPO/commons-codec/commons-codec/
 1.2/commons-codec-1.2.jar/
        classpathentry kind=var
 

Re: Compilation Error

2010-04-21 Thread rxm0203
Here is the update. I removed the mentioned jar file from Drools-
Guvnor's dependent projects class path. Now, I am able to compile
successfully. Thanks for your help.

On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
 I removed the mentioned jar file. I am still getting samecompilationerror. 
 Which is second entry should I remove?

 On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:

  These two entries look to be problematic:

    classpathentry kind=var path=M2_REPO/org/apache/jasper/
  springsource/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
  6.0.20.S2-r5956/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
  r5956.jar/

  Are these jars required? Can you remove them?

  On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
   Here are the contents of .classpath file.

   ?xml version=1.0 encoding=UTF-8?
   classpath
          classpathentry kind=src output=target/test-classes path=src/
   test/java/
          classpathentry excluding=**/*.java including=** kind=src
   output=target/test-classes path=src/test/resources/
          classpathentry including=**/*.java kind=src
   path=src/main/java/

          classpathentry excluding=**/*.java kind=src path=src/main/
   resources/
          classpathentry kind=var
   path=M2_REPO/javax/activation/activation/
   1.1/activation-1.1.jar/
          classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
   api-3.0.jar/
          classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
   api-1.2.jar/
          classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
   ri-1.2.jar/
          classpathentry kind=var
   path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
   jaxb-api-2.1.jar/
          classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
   jcr-1.0.jar/
          classpathentry kind=var
   path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
   api-1.2.jar/
          classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
   2.1/jsp-api-2.1.jar/
          classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
   jta-1.1.jar/
          classpathentry kind=var path=M2_REPO/javax/persistence/
   persistence-api/1.0/persistence-api-1.0.jar/
          classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
   2.3/servlet-api-2.3.jar/
          classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
   1.0-2/stax-api-1.0-2.jar/
          classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
   antlr-2.7.6.jar/
          classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
   3.1.3/antlr-runtime-3.1.3.jar/
          classpathentry kind=var
   path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

          classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
   attrs-1.5.3.jar/
          classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
   framework/4.1.3/avalon-framework-4.1.3.jar/
          classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
   jdk14/138/bcmail-jdk14-138.jar/
          classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
   jdk14/138/bcprov-jdk14-138.jar/
          classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
   cglib-2.1_3.jar/
          classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
   cobogw-1.0.jar/
          classpathentry kind=var path=M2_REPO/org/apache/jasper/
   springsource/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
   6.0.20.S2-r5956/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
   r5956.jar/
          classpathentry kind=var
   path=M2_REPO/commons-codec/commons-codec/
   1.2/commons-codec-1.2.jar/
          classpathentry kind=var
   path=M2_REPO/commons-collections/commons-
   collections/3.1/commons-collections-3.1.jar/
          classpathentry kind=var 
   path=M2_REPO/commons-fileupload/commons-
   fileupload/1.2.1/commons-fileupload-1.2.1.jar/
          classpathentry kind=var 
   path=M2_REPO/commons-httpclient/commons-
   httpclient/3.1/commons-httpclient-3.1.jar/
          classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
   commons-io-1.4.jar/
          classpathentry kind=var path=M2_REPO/commons-logging/commons-
   logging/1.1/commons-logging-1.1.jar/
          classpathentry kind=var
   path=M2_REPO/concurrent/concurrent/1.3.4/
   concurrent-1.3.4.jar/
          classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
   10.2.1.6/derby-10.2.1.6.jar/
          classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
   dom4j-1.6.1-brew.jar/
          classpathentry kind=src path=/drools-api/
          classpathentry kind=src path=/drools-bpmn2/
          classpathentry kind=src path=/drools-compiler/
          classpathentry kind=src path=/drools-core/
          classpathentry kind=src path=/drools-decisiontables/
          classpathentry kind=src path=/drools-doc/
          classpathentry kind=src path=/drools-factconstraint/
          classpathentry kind=src 

Re: Compilation Error

2010-04-21 Thread Rajeev Dayal
Great, glad it is working.

On Wed, Apr 21, 2010 at 9:41 AM, rxm0203 rxm0...@gmail.com wrote:

 Here is the update. I removed the mentioned jar file from Drools-
 Guvnor's dependent projects class path. Now, I am able to compile
 successfully. Thanks for your help.

 On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
  I removed the mentioned jar file. I am still getting
 samecompilationerror. Which is second entry should I remove?
 
  On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:
 
   These two entries look to be problematic:
 
 classpathentry kind=var path=M2_REPO/org/apache/jasper/
   springsource/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
   6.0.20.S2-r5956/
  
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
   r5956.jar/
 
   Are these jars required? Can you remove them?
 
   On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
Here are the contents of .classpath file.
 
?xml version=1.0 encoding=UTF-8?
classpath
   classpathentry kind=src output=target/test-classes
 path=src/
test/java/
   classpathentry excluding=**/*.java including=**
 kind=src
output=target/test-classes path=src/test/resources/
   classpathentry including=**/*.java kind=src
path=src/main/java/
 
   classpathentry excluding=**/*.java kind=src
 path=src/main/
resources/
   classpathentry kind=var
path=M2_REPO/javax/activation/activation/
1.1/activation-1.1.jar/
   classpathentry kind=var
 path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
api-3.0.jar/
   classpathentry kind=var
 path=M2_REPO/javax/el/el-api/1.2/el-
api-1.2.jar/
   classpathentry kind=var
 path=M2_REPO/javax/el/el-ri/1.2/el-
ri-1.2.jar/
   classpathentry kind=var
path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
jaxb-api-2.1.jar/
   classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
jcr-1.0.jar/
   classpathentry kind=var
path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
api-1.2.jar/
   classpathentry kind=var
 path=M2_REPO/javax/servlet/jsp/jsp-api/
2.1/jsp-api-2.1.jar/
   classpathentry kind=var
 path=M2_REPO/javax/transaction/jta/1.1/
jta-1.1.jar/
   classpathentry kind=var path=M2_REPO/javax/persistence/
persistence-api/1.0/persistence-api-1.0.jar/
   classpathentry kind=var
 path=M2_REPO/javax/servlet/servlet-api/
2.3/servlet-api-2.3.jar/
   classpathentry kind=var
 path=M2_REPO/javax/xml/stream/stax-api/
1.0-2/stax-api-1.0-2.jar/
   classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
antlr-2.7.6.jar/
   classpathentry kind=var
 path=M2_REPO/org/antlr/antlr-runtime/
3.1.3/antlr-runtime-3.1.3.jar/
   classpathentry kind=var
path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/
 
   classpathentry kind=var
 path=M2_REPO/asm/asm-attrs/1.5.3/asm-
attrs-1.5.3.jar/
   classpathentry kind=var
 path=M2_REPO/avalon-framework/avalon-
framework/4.1.3/avalon-framework-4.1.3.jar/
   classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
jdk14/138/bcmail-jdk14-138.jar/
   classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
jdk14/138/bcprov-jdk14-138.jar/
   classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
cglib-2.1_3.jar/
   classpathentry kind=var
 path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
cobogw-1.0.jar/
   classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
   
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/
   classpathentry kind=var
path=M2_REPO/commons-codec/commons-codec/
1.2/commons-codec-1.2.jar/
   classpathentry kind=var
path=M2_REPO/commons-collections/commons-
collections/3.1/commons-collections-3.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-fileupload/commons-
fileupload/1.2.1/commons-fileupload-1.2.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-httpclient/commons-
httpclient/3.1/commons-httpclient-3.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-io/commons-io/1.4/
commons-io-1.4.jar/
   classpathentry kind=var
 path=M2_REPO/commons-logging/commons-
logging/1.1/commons-logging-1.1.jar/
   classpathentry kind=var
path=M2_REPO/concurrent/concurrent/1.3.4/
concurrent-1.3.4.jar/
   classpathentry kind=var
 path=M2_REPO/org/apache/derby/derby/
10.2.1.6/derby-10.2.1.6.jar/
   classpathentry kind=var
 path=M2_REPO/dom4j/dom4j/1.6.1-brew/
dom4j-1.6.1-brew.jar/
   classpathentry kind=src path=/drools-api/
   classpathentry kind=src path=/drools-bpmn2/
   classpathentry kind=src path=/drools-compiler/
   classpathentry kind=src path=/drools-core/
 

Re: Compilation Error

2010-04-20 Thread Rajeev Dayal
These two entries look to be problematic:

  classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/

Are these jars required? Can you remove them?


On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:

 Here are the contents of .classpath file.

 ?xml version=1.0 encoding=UTF-8?
 classpath
classpathentry kind=src output=target/test-classes path=src/
 test/java/
classpathentry excluding=**/*.java including=** kind=src
 output=target/test-classes path=src/test/resources/
classpathentry including=**/*.java kind=src
 path=src/main/java/
 
classpathentry excluding=**/*.java kind=src path=src/main/
 resources/
classpathentry kind=var
 path=M2_REPO/javax/activation/activation/
 1.1/activation-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
 api-3.0.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
 api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
 ri-1.2.jar/
classpathentry kind=var
 path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
 jaxb-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
 jcr-1.0.jar/
classpathentry kind=var
 path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
 api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
 2.1/jsp-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
 jta-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/persistence/
 persistence-api/1.0/persistence-api-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
 2.3/servlet-api-2.3.jar/
classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
 1.0-2/stax-api-1.0-2.jar/
classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
 antlr-2.7.6.jar/
classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
 3.1.3/antlr-runtime-3.1.3.jar/
classpathentry kind=var
 path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/
 
classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
 attrs-1.5.3.jar/
classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
 framework/4.1.3/avalon-framework-4.1.3.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
 jdk14/138/bcmail-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
 jdk14/138/bcprov-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
 cglib-2.1_3.jar/
classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
 cobogw-1.0.jar/
classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/
classpathentry kind=var
 path=M2_REPO/commons-codec/commons-codec/
 1.2/commons-codec-1.2.jar/
classpathentry kind=var
 path=M2_REPO/commons-collections/commons-
 collections/3.1/commons-collections-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
 fileupload/1.2.1/commons-fileupload-1.2.1.jar/
classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
 httpclient/3.1/commons-httpclient-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
 commons-io-1.4.jar/
classpathentry kind=var path=M2_REPO/commons-logging/commons-
 logging/1.1/commons-logging-1.1.jar/
classpathentry kind=var
 path=M2_REPO/concurrent/concurrent/1.3.4/
 concurrent-1.3.4.jar/
classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
 10.2.1.6/derby-10.2.1.6.jar/
classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
 dom4j-1.6.1-brew.jar/
classpathentry kind=src path=/drools-api/
classpathentry kind=src path=/drools-bpmn2/
classpathentry kind=src path=/drools-compiler/
classpathentry kind=src path=/drools-core/
classpathentry kind=src path=/drools-decisiontables/
classpathentry kind=src path=/drools-doc/
classpathentry kind=src path=/drools-factconstraint/
classpathentry kind=src path=/drools-repository/
classpathentry kind=src path=/drools-templates/
classpathentry kind=src path=/drools-verifier/
classpathentry kind=var
 path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
 ehcache-1.2.3.jar/
classpathentry kind=var
 path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
 build210/ganymed-ssh2-build210.jar/
classpathentry kind=var path=M2_REPO/com/google/collections/
 google-collections/0.8/google-collections-0.8.jar/
classpathentry kind=var path=M2_REPO/org/antlr/gunit/3.1.3/
 gunit-3.1.3.jar/
classpathentry kind=var 

Re: Compilation Error

2010-04-20 Thread rxm0203
I removed the mentioned jar file. I am still getting same compilation
error. Which is second entry should I remove?

On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:
 These two entries look to be problematic:

   classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/

 Are these jars required? Can you remove them?

 On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
  Here are the contents of .classpath file.

  ?xml version=1.0 encoding=UTF-8?
  classpath
         classpathentry kind=src output=target/test-classes path=src/
  test/java/
         classpathentry excluding=**/*.java including=** kind=src
  output=target/test-classes path=src/test/resources/
         classpathentry including=**/*.java kind=src
  path=src/main/java/

         classpathentry excluding=**/*.java kind=src path=src/main/
  resources/
         classpathentry kind=var
  path=M2_REPO/javax/activation/activation/
  1.1/activation-1.1.jar/
         classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
  api-3.0.jar/
         classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
  api-1.2.jar/
         classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
  ri-1.2.jar/
         classpathentry kind=var
  path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
  jaxb-api-2.1.jar/
         classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
  jcr-1.0.jar/
         classpathentry kind=var
  path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
  api-1.2.jar/
         classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
  2.1/jsp-api-2.1.jar/
         classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
  jta-1.1.jar/
         classpathentry kind=var path=M2_REPO/javax/persistence/
  persistence-api/1.0/persistence-api-1.0.jar/
         classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
  2.3/servlet-api-2.3.jar/
         classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
  1.0-2/stax-api-1.0-2.jar/
         classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
  antlr-2.7.6.jar/
         classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
  3.1.3/antlr-runtime-3.1.3.jar/
         classpathentry kind=var
  path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

         classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
  attrs-1.5.3.jar/
         classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
  framework/4.1.3/avalon-framework-4.1.3.jar/
         classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
  jdk14/138/bcmail-jdk14-138.jar/
         classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
  jdk14/138/bcprov-jdk14-138.jar/
         classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
  cglib-2.1_3.jar/
         classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
  cobogw-1.0.jar/
         classpathentry kind=var path=M2_REPO/org/apache/jasper/
  springsource/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
  6.0.20.S2-r5956/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
  r5956.jar/
         classpathentry kind=var
  path=M2_REPO/commons-codec/commons-codec/
  1.2/commons-codec-1.2.jar/
         classpathentry kind=var
  path=M2_REPO/commons-collections/commons-
  collections/3.1/commons-collections-3.1.jar/
         classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
  fileupload/1.2.1/commons-fileupload-1.2.1.jar/
         classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
  httpclient/3.1/commons-httpclient-3.1.jar/
         classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
  commons-io-1.4.jar/
         classpathentry kind=var path=M2_REPO/commons-logging/commons-
  logging/1.1/commons-logging-1.1.jar/
         classpathentry kind=var
  path=M2_REPO/concurrent/concurrent/1.3.4/
  concurrent-1.3.4.jar/
         classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
  10.2.1.6/derby-10.2.1.6.jar/
         classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
  dom4j-1.6.1-brew.jar/
         classpathentry kind=src path=/drools-api/
         classpathentry kind=src path=/drools-bpmn2/
         classpathentry kind=src path=/drools-compiler/
         classpathentry kind=src path=/drools-core/
         classpathentry kind=src path=/drools-decisiontables/
         classpathentry kind=src path=/drools-doc/
         classpathentry kind=src path=/drools-factconstraint/
         classpathentry kind=src path=/drools-repository/
         classpathentry kind=src path=/drools-templates/
         classpathentry kind=src path=/drools-verifier/
         classpathentry kind=var
  path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
  ehcache-1.2.3.jar/
         classpathentry kind=var
  path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
  build210/ganymed-ssh2

Re: Compilation Error

2010-04-19 Thread rxm0203
Hi Rajeev,

I don't see JDT appearing on the build path. Let  me know your
suggestions for the next step.

Thanks,

Rahul

On Apr 16, 10:28 am, Rajeev Dayal rda...@google.com wrote:
 Hm, I'm wondering if there is some sort of issue with multiple versions of
 JDT appearing on the classpath. Does Drools utilize JDT? What does your
 build path look like?



 On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:
  I hope this is the correct mailing list for the question. We are
  working on Custom Business Rules designer for our application suite.
  We are going to customize Drools Guvnor user interface as per our
  requirements. I checked out latest Drools Guvnor source code from SVN.
  I am trying to compile and build source code. I am using Eclipse 3.5
  for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
  compile when I click GWT plug in button from Eclipse menu bar. Here is
  an error log from GWT console.

  Compiling module org.drools.guvnor.Guvnor
  [ERROR] Unexpected
  java.lang.NoSuchFieldError:
  reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
     at
  com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
  310)
     at com.google.gwt.dev.javac.JdtCompiler
  $CompilerImpl.init(JdtCompiler.java:148)
     at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
  466)
     at com.google.gwt.dev.javac.CompilationStateBuilder
  $CompileMoreLater.compile(CompilationStateBuilder.java:142)
     at

  com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
  281)
     at

  com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
  182)
     at
  com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
  280)
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
     at com.google.gwt.dev.Compiler.run(Compiler.java:201)
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
     at
  com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
     at

  com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
  81)
     at com.google.gwt.dev.Compiler.main(Compiler.java:159)

  Does anyone has resolution to the issue?

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-19 Thread Rajeev Dayal
Can you post the contents of your .classpath file?

On Mon, Apr 19, 2010 at 11:42 AM, rxm0203 rxm0...@gmail.com wrote:

 Hi Rajeev,

 I don't see JDT appearing on the build path. Let  me know your
 suggestions for the next step.

 Thanks,

 Rahul

 On Apr 16, 10:28 am, Rajeev Dayal rda...@google.com wrote:
  Hm, I'm wondering if there is some sort of issue with multiple versions
 of
  JDT appearing on the classpath. Does Drools utilize JDT? What does your
  build path look like?
 
 
 
  On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:
   I hope this is the correct mailing list for the question. We are
   working on Custom Business Rules designer for our application suite.
   We are going to customize Drools Guvnor user interface as per our
   requirements. I checked out latest Drools Guvnor source code from SVN.
   I am trying to compile and build source code. I am using Eclipse 3.5
   for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
   compile when I click GWT plug in button from Eclipse menu bar. Here is
   an error log from GWT console.
 
   Compiling module org.drools.guvnor.Guvnor
   [ERROR] Unexpected
   java.lang.NoSuchFieldError:
   reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
  at
  
 com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
   310)
  at com.google.gwt.dev.javac.JdtCompiler
   $CompilerImpl.init(JdtCompiler.java:148)
  at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
   466)
  at com.google.gwt.dev.javac.CompilationStateBuilder
   $CompileMoreLater.compile(CompilationStateBuilder.java:142)
  at
 
  
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
   281)
  at
 
  
 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
   182)
  at
   com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
   280)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
  at com.google.gwt.dev.Compiler.run(Compiler.java:201)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
  at
   com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
  at
 
  
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
   81)
  at com.google.gwt.dev.Compiler.main(Compiler.java:159)
 
   Does anyone has resolution to the issue?
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group athttp://
 groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-19 Thread rxm0203
Here are the contents of .classpath file.

?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src output=target/test-classes path=src/
test/java/
classpathentry excluding=**/*.java including=** kind=src
output=target/test-classes path=src/test/resources/
classpathentry including=**/*.java kind=src path=src/main/java/

classpathentry excluding=**/*.java kind=src path=src/main/
resources/
classpathentry kind=var path=M2_REPO/javax/activation/activation/
1.1/activation-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
api-3.0.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
ri-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
jaxb-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
jcr-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
2.1/jsp-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
jta-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/persistence/
persistence-api/1.0/persistence-api-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
2.3/servlet-api-2.3.jar/
classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
1.0-2/stax-api-1.0-2.jar/
classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
antlr-2.7.6.jar/
classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
3.1.3/antlr-runtime-3.1.3.jar/
classpathentry kind=var path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
attrs-1.5.3.jar/
classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
framework/4.1.3/avalon-framework-4.1.3.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
jdk14/138/bcmail-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
jdk14/138/bcprov-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
cglib-2.1_3.jar/
classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
cobogw-1.0.jar/
classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/
classpathentry kind=var path=M2_REPO/commons-codec/commons-codec/
1.2/commons-codec-1.2.jar/
classpathentry kind=var path=M2_REPO/commons-collections/commons-
collections/3.1/commons-collections-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
fileupload/1.2.1/commons-fileupload-1.2.1.jar/
classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
httpclient/3.1/commons-httpclient-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
commons-io-1.4.jar/
classpathentry kind=var path=M2_REPO/commons-logging/commons-
logging/1.1/commons-logging-1.1.jar/
classpathentry kind=var path=M2_REPO/concurrent/concurrent/1.3.4/
concurrent-1.3.4.jar/
classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
10.2.1.6/derby-10.2.1.6.jar/
classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
dom4j-1.6.1-brew.jar/
classpathentry kind=src path=/drools-api/
classpathentry kind=src path=/drools-bpmn2/
classpathentry kind=src path=/drools-compiler/
classpathentry kind=src path=/drools-core/
classpathentry kind=src path=/drools-decisiontables/
classpathentry kind=src path=/drools-doc/
classpathentry kind=src path=/drools-factconstraint/
classpathentry kind=src path=/drools-repository/
classpathentry kind=src path=/drools-templates/
classpathentry kind=src path=/drools-verifier/
classpathentry kind=var path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
ehcache-1.2.3.jar/
classpathentry kind=var path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
build210/ganymed-ssh2-build210.jar/
classpathentry kind=var path=M2_REPO/com/google/collections/
google-collections/0.8/google-collections-0.8.jar/
classpathentry kind=var path=M2_REPO/org/antlr/gunit/3.1.3/
gunit-3.1.3.jar/
classpathentry kind=var path=M2_REPO/pl/balon/gwt/gwt-diagrams/
0.2-RC00/gwt-diagrams-0.2-RC00.jar/
classpathentry kind=var path=M2_REPO/com/google/gwt/gwt-servlet/
1.5.3/gwt-servlet-1.5.3.jar/
classpathentry kind=var path=M2_REPO/com/gwtext/gwtext/2.0.5/
gwtext-2.0.5.jar/
classpathentry kind=var path=M2_REPO/org/hibernate/hibernate/
3.2.4.sp1/hibernate-3.2.4.sp1.jar/
classpathentry kind=var path=M2_REPO/org/hibernate/hibernate-

Re: Compilation Error

2010-04-16 Thread Rajeev Dayal
Hm, I'm wondering if there is some sort of issue with multiple versions of
JDT appearing on the classpath. Does Drools utilize JDT? What does your
build path look like?

On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:

 I hope this is the correct mailing list for the question. We are
 working on Custom Business Rules designer for our application suite.
 We are going to customize Drools Guvnor user interface as per our
 requirements. I checked out latest Drools Guvnor source code from SVN.
 I am trying to compile and build source code. I am using Eclipse 3.5
 for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
 compile when I click GWT plug in button from Eclipse menu bar. Here is
 an error log from GWT console.

 Compiling module org.drools.guvnor.Guvnor
 [ERROR] Unexpected
 java.lang.NoSuchFieldError:
 reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at
 com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
 310)
at com.google.gwt.dev.javac.JdtCompiler
 $CompilerImpl.init(JdtCompiler.java:148)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
 466)
at com.google.gwt.dev.javac.CompilationStateBuilder
 $CompileMoreLater.compile(CompilationStateBuilder.java:142)
at

 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
 281)
at

 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
 182)
at
 com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
 280)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at
 com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at

 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
 81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 Does anyone has resolution to the issue?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ClientBundle compilation error

2010-02-09 Thread RickD
I too am experiencing this exact problem.  I have successfully used
ImageResources for nearly all of my images, but when I added just one
more image it breaks!?  The problem seems to be related to the number
of images and not the content of the image.

I am anxiously awaiting a fix, and in the meantime a work-around.

Ciao,

Rick


On Jan 17, 10:11 am, Arunava r.arun...@gmail.com wrote:
 I am getting an error while using ClientBundle in my project. I have
 used Eclipse to generate the ClientBundle. Also added the following
 line in Resource interface -

 1. public static final Resources INSTANCE =  GWT.create
 (Resources.class);

 The code that uses ClientBundle -

 2. this.add(new Image(Resources.INSTANCE.header_bg_right()));

 3. The exception is -

 Compiling module org.eagle.insight.EGLInsight
    [ERROR] Errors in 'file:/C:/MyProject/EGLInsight/src/org/eagle/
 insight/client/Resources.java'
       [ERROR]  Internal compiler error
 java.lang.NullPointerException
         at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java:
 83)
         at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit
 (JdtCompiler.java:203)
         at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
 (TypeDeclaration.java:1198)
         at
 org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
 (CompilationUnitDeclaration.java:687)
         at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process
 (JdtCompiler.java:157)
         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
 444)
         at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
 466)
         at com.google.gwt.dev.javac.CompilationStateBuilder
 $CompileMoreLater.compile(CompilationStateBuilder.java:141)
         at
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes
 (CompilationStateBuilder.java:325)
         at com.google.gwt.dev.javac.CompilationStateBuilder
 $CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:126)
         at
 com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits
 (CompilationState.java:86)
         at com.google.gwt.dev.javac.StandardGeneratorContext.finish
 (StandardGeneratorContext.java:348)
         at
 com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe 
 binds
 (WebModeCompilerFrontEnd.java:129)
         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.process(AbstractCompiler.java:200)
         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
 444)
         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.compile(AbstractCompiler.java:123)
         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.compile(AbstractCompiler.java:234)
         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
 $200(AbstractCompiler.java:109)
         at com.google.gwt.dev.jdt.AbstractCompiler.compile
 (AbstractCompiler.java:522)
         at
 com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations
 (BasicWebModeCompiler.java:112)
         at
 com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclaratio ns
 (WebModeCompilerFrontEnd.java:47)
         at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
 (JavaToJavaScriptCompiler.java:421)
         at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
 (JavaScriptCompiler.java:32)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
         at com.google.gwt.dev.Compiler.run(Compiler.java:201)
         at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
         at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
 87)
         at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
 (CompileTaskRunner.java:81)
         at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 [ERROR] Unexpected
 java.lang.NullPointerException
         at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java:
 83)
         at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit
 (JdtCompiler.java:203)
         at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
 (TypeDeclaration.java:1198)
         at
 org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
 (CompilationUnitDeclaration.java:687)
         at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process
 (JdtCompiler.java:157)
         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
 444)
         at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
 466)
         at com.google.gwt.dev.javac.CompilationStateBuilder
 $CompileMoreLater.compile(CompilationStateBuilder.java:141)
         at
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes
 (CompilationStateBuilder.java:325)
         at com.google.gwt.dev.javac.CompilationStateBuilder
 

Re: ClientBundle compilation error

2010-01-31 Thread jim n
ditto

this code should work as an imagebundle, i get a compilation error
when i follow the migration instructions for ImageBundle to
ClientBundle ImageResources, and ClientBundle really solves a problem
i have.



On Jan 17, 8:11 am, Arunava r.arun...@gmail.com wrote:
 I am getting an error while usingClientBundlein my project. I have
 used Eclipse to generate theClientBundle. Also added the following
 line in Resource interface -


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



ClientBundle compilation error

2010-01-17 Thread Arunava
I am getting an error while using ClientBundle in my project. I have
used Eclipse to generate the ClientBundle. Also added the following
line in Resource interface -

1. public static final Resources INSTANCE =  GWT.create
(Resources.class);

The code that uses ClientBundle -

2. this.add(new Image(Resources.INSTANCE.header_bg_right()));

3. The exception is -

Compiling module org.eagle.insight.EGLInsight
   [ERROR] Errors in 'file:/C:/MyProject/EGLInsight/src/org/eagle/
insight/client/Resources.java'
  [ERROR]  Internal compiler error
java.lang.NullPointerException
at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java:
83)
at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit
(JdtCompiler.java:203)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
(TypeDeclaration.java:1198)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
(CompilationUnitDeclaration.java:687)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process
(JdtCompiler.java:157)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
466)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:141)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes
(CompilationStateBuilder.java:325)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:126)
at
com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits
(CompilationState.java:86)
at com.google.gwt.dev.javac.StandardGeneratorContext.finish
(StandardGeneratorContext.java:348)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:129)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:200)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:123)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:234)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
$200(AbstractCompiler.java:109)
at com.google.gwt.dev.jdt.AbstractCompiler.compile
(AbstractCompiler.java:522)
at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations
(BasicWebModeCompiler.java:112)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
(WebModeCompilerFrontEnd.java:47)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
(JavaToJavaScriptCompiler.java:421)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
(JavaScriptCompiler.java:32)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)

[ERROR] Unexpected
java.lang.NullPointerException
at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java:
83)
at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit
(JdtCompiler.java:203)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
(TypeDeclaration.java:1198)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
(CompilationUnitDeclaration.java:687)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process
(JdtCompiler.java:157)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
466)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:141)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes
(CompilationStateBuilder.java:325)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:126)
at
com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits
(CompilationState.java:86)
at com.google.gwt.dev.javac.StandardGeneratorContext.finish
(StandardGeneratorContext.java:348)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:129)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox

Re: Compilation error

2010-01-08 Thread Raman
Looks like I have finally solved the problem.

The case was something like this.
I am using ExtGWT which has a class TreePanel with an inner class
TreeNode, which looks like below:

public class TreePanelM extends ModelData {


-
class TreeNode {
  
  ---
  private M data;
}
--
}

And, since the TreeNode class is public inside TreePanel, I was
directly using TreeNode class in my code.

I would do:

import ..TrePanel.TreeNode;
-
--

TreeNode node = ;

As you can see, TreeNode internally uses the type M, which is not
defined in the above kind of usage.
And GWT compiler gets confused when it sees this.

I solved this problem by removing the import statement as accessing
the TreeNode only in the context of the outer class(TreePanel) like
this:

TreePanelMyModeldata.TreeNode node = x;

This solved the issue.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-08 Thread dangle
I rebuilt the toolkit from source and narrowed down the issue a bit
myself, definitely seems to have something to do with inner classes
being defined inside generic classes.  Unfortunately my codebase is
pretty big and we do this in multiple spots, so I'm still trying to
get around it.  Will see if i can make similar changes to what Raman
has done... but I think that the code around this part of resolving
generic types could use a little more error handling to identify these
cases at least, because without compiling from source with my own
debug statements I wasn't even able to figure out which classes it
first started complaining about.

cheers
Dan

On Jan 8, 4:23 am, Raman rama...@gmail.com wrote:
 Looks like I have finally solved the problem.

 The case was something like this.
 I am using ExtGWT which has a class TreePanel with an inner class
 TreeNode, which looks like below:

 public class TreePanelM extends ModelData {

 
 -
     class TreeNode {
       
       ---
       private M data;
     }
 --

 }

 And, since the TreeNode class is public inside TreePanel, I was
 directly using TreeNode class in my code.

 I would do:

 import ..TrePanel.TreeNode;
 -
 --

 TreeNode node = ;

 As you can see, TreeNode internally uses the type M, which is not
 defined in the above kind of usage.
 And GWT compiler gets confused when it sees this.

 I solved this problem by removing the import statement as accessing
 the TreeNode only in the context of the outer class(TreePanel) like
 this:

 TreePanelMyModeldata.TreeNode node = x;

 This solved the issue.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-08 Thread dangle
As a temporary workaround since I've already burned a whole day on
this one, I just refactored several inner classes to the top level.
It just compiled.

I think my case may have actually done something similar, only where
(to use Raman's example) it actually defined TreePanel.TreeNode as
part of a method signature, without specifying any type on the
parent...

This stuff all used to compile fine, so hopefully my other projects
don't require too much refactoring, but at least there seem to be ways
to work around it.  Thanks for the post, Raman.

Dan

On Jan 8, 4:23 am, Raman rama...@gmail.com wrote:
 Looks like I have finally solved the problem.

 The case was something like this.
 I am using ExtGWT which has a class TreePanel with an inner class
 TreeNode, which looks like below:

 public class TreePanelM extends ModelData {

 
 -
     class TreeNode {
       
       ---
       private M data;
     }
 --

 }

 And, since the TreeNode class is public inside TreePanel, I was
 directly using TreeNode class in my code.

 I would do:

 import ..TrePanel.TreeNode;
 -
 --

 TreeNode node = ;

 As you can see, TreeNode internally uses the type M, which is not
 defined in the above kind of usage.
 And GWT compiler gets confused when it sees this.

 I solved this problem by removing the import statement as accessing
 the TreeNode only in the context of the outer class(TreePanel) like
 this:

 TreePanelMyModeldata.TreeNode node = x;

 This solved the issue.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-07 Thread dangle
I just got the same error on one project, although I've successfully
been able to compile others.  No idea why yet... anyone have any
ideas?


On Jan 7, 12:28 am, Raman rama...@gmail.com wrote:
 I just upgraded to GWT 2.0.
 But when I compile my source code with com.google.gwt.dev.Compiler, I
 get a NullPointerException as below. What am I doing wrong?

 [ERROR] Unexpected
 java.lang.NullPointerException
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
 s(ResolveTypeSignature.java:229)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
 lveTypeSignature.java:300)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
 lveTypeSignature.java:297)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
 olveTypeSignature.java:339)
         at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
 (ResolveTyp
 eSignature.java:155)
         at com.google.gwt.dev.asm.signature.SignatureReader.parseType
 (SignatureR
 eader.java:188)
         at com.google.gwt.dev.asm.signature.SignatureReader.accept
 (SignatureRead
 er.java:100)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
 (TypeOracleM
 ediator.java:972)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:767)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:792)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:698)
         at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
 (TypeOracleMed
 iator.java:353)
         at com.google.gwt.dev.javac.CompilationState.assimilateUnits
 (Compilation
 State.java:135)
         at com.google.gwt.dev.javac.CompilationState.init
 (CompilationState.jav
 a:79)
         at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
 (Compilat
 ionStateBuilder.java:284)
         at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
 (Compilatio
 nStateBuilder.java:181)
         at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
 (ModuleDef.java:2
 80)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 502)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 414)
         at com.google.gwt.dev.Compiler.run(Compiler.java:201)
         at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
         at com.google.gwt.dev.CompileTaskRunner.doRun
 (CompileTaskRunner.java:87)

         at
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
 TaskRunner.java:81)
         at com.google.gwt.dev.Compiler.main(Compiler.java:159)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-07 Thread Chris Ramsdale
Would either of you be able to narrow it down to a smaller repro case?

- Chris

On Thu, Jan 7, 2010 at 11:49 AM, dangle dancalv...@gmail.com wrote:

 I just got the same error on one project, although I've successfully
 been able to compile others.  No idea why yet... anyone have any
 ideas?


 On Jan 7, 12:28 am, Raman rama...@gmail.com wrote:
  I just upgraded to GWT 2.0.
  But when I compile my source code with com.google.gwt.dev.Compiler, I
  get a NullPointerException as below. What am I doing wrong?
 
  [ERROR] Unexpected
  java.lang.NullPointerException
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
  s(ResolveTypeSignature.java:229)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:300)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:297)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
  olveTypeSignature.java:339)
  at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
  (ResolveTyp
  eSignature.java:155)
  at com.google.gwt.dev.asm.signature.SignatureReader.parseType
  (SignatureR
  eader.java:188)
  at com.google.gwt.dev.asm.signature.SignatureReader.accept
  (SignatureRead
  er.java:100)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
  (TypeOracleM
  ediator.java:972)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:767)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:792)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:698)
  at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
  (TypeOracleMed
  iator.java:353)
  at com.google.gwt.dev.javac.CompilationState.assimilateUnits
  (Compilation
  State.java:135)
  at com.google.gwt.dev.javac.CompilationState.init
  (CompilationState.jav
  a:79)
  at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
  (Compilat
  ionStateBuilder.java:284)
  at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
  (Compilatio
  nStateBuilder.java:181)
  at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
  (ModuleDef.java:2
  80)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  502)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  414)
  at com.google.gwt.dev.Compiler.run(Compiler.java:201)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
  at com.google.gwt.dev.CompileTaskRunner.doRun
  (CompileTaskRunner.java:87)
 
  at
  com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
  TaskRunner.java:81)
  at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Compilation error

2010-01-06 Thread Raman
I just upgraded to GWT 2.0.
But when I compile my source code with com.google.gwt.dev.Compiler, I
get a NullPointerException as below. What am I doing wrong?

[ERROR] Unexpected
java.lang.NullPointerException
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
s(ResolveTypeSignature.java:229)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
lveTypeSignature.java:300)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
lveTypeSignature.java:297)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
olveTypeSignature.java:339)
at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
(ResolveTyp
eSignature.java:155)
at com.google.gwt.dev.asm.signature.SignatureReader.parseType
(SignatureR
eader.java:188)
at com.google.gwt.dev.asm.signature.SignatureReader.accept
(SignatureRead
er.java:100)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
(TypeOracleM
ediator.java:972)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:767)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:792)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:698)
at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
(TypeOracleMed
iator.java:353)
at com.google.gwt.dev.javac.CompilationState.assimilateUnits
(Compilation
State.java:135)
at com.google.gwt.dev.javac.CompilationState.init
(CompilationState.jav
a:79)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
(Compilat
ionStateBuilder.java:284)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
(Compilatio
nStateBuilder.java:181)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:2
80)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:
502)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:
414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)

at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
TaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Passing javax.persistence.Entity pojo's to the client - Compilation Error

2009-10-21 Thread reyaron

Hi
How can I pass to the RemoteService an Entity of JPA?
If I do so I get the following error during the GWT-compile:
No source code is available for type javax.persistence.Persistence;
did you forget to inherit a required module?

Application Architecture:
Hibernate 3 with JPA spec in some application.
GWT 1.7

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Compilation Error

2009-09-25 Thread Raul

Why I am getting this while trying to compile...


[ERROR] Line 3: The import java.text cannot be resolved
[ERROR] Line 4: The import java.text cannot be resolved
[ERROR] Line 5: The import java.text cannot be resolved
[ERROR] Line 24: DateFormat cannot be resolved to a type
[ERROR] Line 24: SimpleDateFormat cannot be resolved to a type
[ERROR] Line 27: ParseException cannot be resolved to a type

 [ERROR] Line 3: The import java.security cannot be resolved
.


 Computing all possible rebind results for 'com.test.client.testApp'
  Rebinding com.test.client.testApp
 Checking rule generate-with
class='com.extjs.gxt.ui.rebind.core.BeanModelGenerator'/
[ERROR] Unable to find type 'com.test.client.testApp'
   [ERROR] Hint: Previous compiler errors may have made
this type unavailable
   [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may not
be adding its source path entries properly




I have used the java.text .. eclipse does not showed any error while
importing that means it is able to find out the classes in classpath,
but I am getting error while Compiling my Web Application



Please help

Raul



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compilation Error

2009-09-25 Thread Adam T

 u can not use these classes in GWT - client side,
 read the doc for the allowed class,


more specifically, this is what you are allowed to use on GWT client
side: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

//A


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



GWT compilation error with boolean operator

2009-08-03 Thread Thierry Boileau

Hello all,

I get a the following compilation exception:
java.lang.ClassCastException:
com.google.gwt.dev.jjs.ast.JPrimitiveType
at com.google.gwt.dev.jjs.impl.EqualityNormalizer
$BreakupAssignOpsVisitor.endVisit(EqualityNormalizer.java:86)
at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse
(JBinaryOperation.java:79)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
132)
... 34 more

with the following code:
public boolean isEntityAvailable() {
   return (entity.isAvailable())  (entity.getSize() != 0);
}

isAvailable() and getSize() are very simple getters that return
simple primitive values respectively a boolean and an int.

I notice also that when using this code, it works:
public boolean isEntityAvailable() {
   boolean result = (getEntity().isAvailable())  (getEntity().getSize
() != 0);
   return result;
}

Finally, I notice that it works also when the method returns only one
side of the  boolean operation.

I suspect there could be a problem converting  the Boolean class to
the boolean primitive type or vice and versa.
Can somebody tells me why?

Best regards,
Thierry Boileau

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Compilation Error

2009-04-28 Thread lesho

Compiling module x.xx.X
   [ERROR] Errors in 'jar:file:/C:/Documents%20and%20Settings/l3sh0/
Desktop/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.win32_1.6.4.v200904062334/gwt-
windows-1.6.4/gwt-user.jar!/com/google/gwt/user/client/ui/
DisclosurePanel.java'
  [ERROR]  Internal compiler error
java.lang.NoSuchMethodError: calculateSecurityWarningPosition
at java.awt.Window.initIDs(Native Method)
at java.awt.Window.clinit(Unknown Source)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown
Source)
at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
at java.lang.reflect.Field.get(Unknown Source)
at sun.awt.SunToolkit$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.SunToolkit.clinit(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.clinit(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown
Source)
at java.awt.image.BufferedImage.createGraphics(Unknown Source)
at com.google.gwt.user.rebind.ui.ImageBundleBuilder.drawBundledImage
(ImageBundleBuilder.java:450)
at com.google.gwt.user.rebind.ui.ImageBundleBuilder.writeBundledImage
(ImageBundleBuilder.java:319)
at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generateImplClass
(ImageBundleGenerator.java:305)
at com.google.gwt.user.rebind.ui.ImageBundleGenerator.generate
(ImageBundleGenerator.java:159)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize
(RuleGenerateWith.java:49)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
(StandardRebindOracle.java:113)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind
(StandardRebindOracle.java:62)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:172)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:161)
at com.google.gwt.dev.Precompile
$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers
(Precompile.java:204)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:128)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process
(AbstractCompiler.java:151)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:85)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:181)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400
(AbstractCompiler.java:71)
at com.google.gwt.dev.jdt.AbstractCompiler.compile
(AbstractCompiler.java:473)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
(WebModeCompilerFrontEnd.java:73)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
(JavaToJavaScriptCompiler.java:254)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:300)
at com.google.gwt.dev.Compiler.run(Compiler.java:170)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:124)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
84)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:78)
at com.google.gwt.dev.Compiler.main(Compiler.java:131)

[ERROR] Unexpected
java.lang.NoSuchMethodError: calculateSecurityWarningPosition
at java.awt.Window.initIDs(Native Method)
at java.awt.Window.clinit(Unknown Source)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown
Source)
at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
at java.lang.reflect.Field.get(Unknown Source)
at sun.awt.SunToolkit$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.SunToolkit.clinit(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.clinit(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown
Source)
at java.awt.image.BufferedImage.createGraphics(Unknown Source)
at com.google.gwt.user.rebind.ui.ImageBundleBuilder.drawBundledImage

Compilation error: java.lang.NoSuchFieldError: numTypes

2009-01-10 Thread Fred Janon
I am quite stunned, could not find any reference to that error:

[ERROR] Errors in
'jar:file:/C:/GWT/gwt-user.jar!/com/google/gwt/user/client/ui/MenuBar.java'
[ERROR]  Missing message: compilation_internalError in:
org.eclipse.jdt.internal.compiler.messages
java.lang.NoSuchFieldError: numTypes
at sun.java2d.loops.GraphicsPrimitiveMgr.initIDs(Native Method)
at sun.java2d.loops.GraphicsPrimitiveMgr.clinit(Unknown Source)
at sun.java2d.loops.Blit.clinit(Unknown Source)
at sun.java2d.windows.Win32OffScreenSurfaceData.clinit(Unknown Source)
at sun.awt.windows.WToolkit.initIDs(Native Method)
at sun.awt.windows.WToolkit.clinit(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.clinit(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown
Source)
at java.awt.image.BufferedImage.createGraphics(Unknown Source)
at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.drawBundledImage(ImageBundleBuilder.java:450)
at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.writeBundledImage(ImageBundleBuilder.java:319)
at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generateImplClass(ImageBundleGenerator.java:305)
at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generate(ImageBundleGenerator.java:159)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:51)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:116)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:61)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:166)
at
com.google.gwt.dev.GWTCompiler$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(GWTCompiler.java:195)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:128)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process(AbstractCompiler.java:150)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:84)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:180)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400(AbstractCompiler.java:70)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:493)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:73)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.init(JavaToJavaScriptCompiler.java:277)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:353)
at com.google.gwt.dev.GWTShell.compile(GWTShell.java:639)
at
com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.compile(GWTShell.java:220)
at
com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.compile(GWTShell.java:227)
at
com.google.gwt.dev.shell.BrowserWidget$Toolbar.widgetSelected(BrowserWidget.java:132)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

[ERROR] numTypes
java.lang.NoSuchFieldError: numTypes
at sun.java2d.loops.GraphicsPrimitiveMgr.initIDs(Native Method)
at sun.java2d.loops.GraphicsPrimitiveMgr.clinit(Unknown Source)
at sun.java2d.loops.Blit.clinit(Unknown Source)
at sun.java2d.windows.Win32OffScreenSurfaceData.clinit(Unknown Source)
at sun.awt.windows.WToolkit.initIDs(Native Method)
at sun.awt.windows.WToolkit.clinit(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.clinit(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown
Source)
at java.awt.image.BufferedImage.createGraphics(Unknown Source)
at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.drawBundledImage(ImageBundleBuilder.java:450)
at
com.google.gwt.user.rebind.ui.ImageBundleBuilder.writeBundledImage(ImageBundleBuilder.java:319)
at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generateImplClass(ImageBundleGenerator.java:305)
at
com.google.gwt.user.rebind.ui.ImageBundleGenerator.generate(ImageBundleGenerator.java:159)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:51)
at

Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan

Hi, Jason.

Does commenting out @XmlSeeAlso affected on your xml binding?
I'm not jaxb guru, but I think it can brake marshalling of that class.

On Oct 9, 9:01 am, jason [EMAIL PROTECTED] wrote:
  The real problem is the @XmlSeeAlso.
    I commented it out from Paragarph.class.  Gwt still report
 XmlElement eror for other classes. But the gwt compilation finished
 successfully.
    I hope commentting out @XmlSeeAlso does not effect my xml binding.

 -jason
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan

I'm sorry for multiple posts in row.
I've made a mistake in previous post: brake instead of break.

According to javadocs on @XmlSeeAlso commenting it out can break
instantiation of JAXBContext but it could be easily worked around and
doesn't affects my project.

I am using list of all ObjectFactory classes to create JAXBContext. So
JAXBContext has references for all classes generated by JAXB.

On Dec 6, 1:42 pm, Alan [EMAIL PROTECTED] wrote:
 Hi, Jason.

 Does commenting out @XmlSeeAlso affected on your xml binding?
 I'm not jaxb guru, but I think it can brake marshalling of that class.

 On Oct 9, 9:01 am, jason [EMAIL PROTECTED] wrote:

   The real problem is the @XmlSeeAlso.
     I commented it out from Paragarph.class.  Gwt still report
  XmlElement eror for other classes. But the gwt compilation finished
  successfully.
     I hope commentting out @XmlSeeAlso does not effect my xml binding.

  -jason
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-10-09 Thread jason

 The real problem is the @XmlSeeAlso.
   I commented it out from Paragarph.class.  Gwt still report
XmlElement eror for other classes. But the gwt compilation finished
successfully.
   I hope commentting out @XmlSeeAlso does not effect my xml binding.

-jason

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-10-08 Thread jason

I use gwt 1.5.2 on Window.
I have a couple of classes generated by JAXB. These classes are used a
client-side. During compliation, I got some error on annotation
process. It seemed that the GWT tried to process class refereed in
annotation.

Here is the error dump
Processing types in compilation unit: file:/D:/workspace/cmdportal/src/
net/sf/webcommand/model/_Program.java
   Found type '_Program'
  Resolving annotation '@XmlElement(name = parameter,required =
true,type = Parameter.class)'
 [ERROR]
java.lang.ClassNotFoundException: net.sf.webcommand.model.Parameter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
com.google.gwt.dev.javac.TypeOracleMediator.getClassLiteral(TypeOracleMediator.java:
753)
at
com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationElementValue(TypeOracleMediator.java:
664)
at
com.google.gwt.dev.javac.TypeOracleMediator.createAnnotationInstance(TypeOracleMediator.java:
432)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:
826)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:
847)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveField(TypeOracleMediator.java:
889)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveFields(TypeOracleMediator.java:
933)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveTypeDeclaration(TypeOracleMediator.java:
1418)
at
com.google.gwt.dev.javac.TypeOracleMediator.refresh(TypeOracleMediator.java:
382)
at
com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
137)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
Processing types in compilation unit: file:/D:/workspace/cmdportal/src/
net/sf/webcommand/model/_Parameter.java
   Found type '_Parameter'
  Resolving annotation '@XmlSeeAlso({Paragraph.class})'
 [ERROR]
java.lang.ClassNotFoundException: net.sf.webcommand.model.Paragraph
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
com.google.gwt.dev.javac.TypeOracleMediator.getClassLiteral(TypeOracleMediator.java:
753)
at
com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationElementValue(TypeOracleMediator.java:
664)
at
com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationElementValueArray(TypeOracleMediator.java:
729)
at
com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationElementValue(TypeOracleMediator.java:
666)
at
com.google.gwt.dev.javac.TypeOracleMediator.createAnnotationInstance(TypeOracleMediator.java:
432)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:
826)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:
847)
at
com.google.gwt.dev.javac.TypeOracleMediator.resolveTypeDeclaration(TypeOracleMediator.java:
1374)
at
com.google.gwt.dev.javac.TypeOracleMediator.refresh(TypeOracleMediator.java:
382)
at
com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
137)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)


Any suggestion? Is there a workaround?

thanks

-jason

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL 

GWT compilation Error

2008-09-14 Thread [EMAIL PROTECTED]

Hi group,

i am new to this tool. i need help from any one of you. when i try to
run my build i get the following error. any help to resolve this
greatly accepted.

[jar] Building jar: C:\Users\Myproject\EMR20-PT03-
[EMAIL PROTECTED]
\lib\EMR20-Base.jar
gwt-compile:
 [java] Loading module
'com.emr.pt03.accountgroup01.AccountGroup01'
 [java]Loading inherited module 'com.google.gwt.user.User'
 [java]   Loading inherited module 'com.google.gwt.core.Core'
 [java]  [ERROR] Line 23: Unexpected element 'define-
linker'
 [java]  [ERROR] Failure while parsing XML
 [java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
 [java] at
com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement(DefaultSchema.java:
80)
 [java] at
com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
 [java] at
com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:171)
 [java] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
454)
 [java] at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:
217)
 [java] at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:
594)
 [java] at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:
777)
 [java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:
748)
 [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:
1453)
 [java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
333)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
524)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
580)
 [java] at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 [java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1169)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:295)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.access$100(ReflectiveParser.java:48)
 [java] at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
366)
 [java] at
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
175)
 [java] at com.google.gwt.dev.cfg.ModuleDefSchema
$BodySchema.__inherits_begin(ModuleDefSchema.java:143)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
 [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 [java] at java.lang.reflect.Method.invoke(Unknown Source)
 [java] at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
223)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:242)
 [java] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
454)
 [java] at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:
217)
 [java] at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:
594)
 [java] at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:
777)
 [java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:
748)
 [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:
1453)
 [java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
333)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
524)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
580)
 [java] at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 [java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1169)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:295)
 [java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.access$100(ReflectiveParser.java:48)
 [java] at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
366)
 [java] at
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
175)
 [java] at 

Re: Compilation error after 1.5rc2 upgrade

2008-08-26 Thread Folke

On Aug 26, 11:37 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Aug 26, 11:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 http://code.google.com/p/google-web-toolkit/source/detail?r=3061

 Thanks for the quick reply. I guess I'd rather see compilation errors,
 but why not just implement the code, I wonder? It seems like it's a
 simple function, which would be better implemented in one place (the
 Collections emulation), than in the client code of each user. It's no
 big deal; now that I know, I'll implement it myself. But still... is
 this just a symptom of getting to crunch time with some code
 incomplete?

It's not that simple. The returned sublist is backed by the returning
list. Any change to the sublist also changes the parent list.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---