Re: Starting new GWT project - what to use

2017-04-04 Thread Thomas
Thanks for that info David. Quite simple indeed. We are currently relying 
on a lot of widgets, but we've got a similar pattern already 
using com.google.gwt.dom.client.* elements in UiBinder.

That helps alot!


On Tuesday, April 4, 2017 at 3:22:22 PM UTC+8, DavidN wrote:
>
> Thomas,
>
> I can't point you to any example on the internet. I am not allowed to post 
> my code online.
> But is is actually quite simple. I just use UiBinder and inside plain html 
> tags inside an HTMLPanel.
>
> Something like this:
>  xmlns:g="urn:import:com.google.gwt.user.client.ui">
>   
> 
> 
>   
> 
>
> In the UiBinder class you can just do:
> @UiField
> HTMLElement pageTitle;
>
> @UiField
> HTMLInputElement textbox;
>
> and it will be properly filled in. From there you can just use the 
> Elemental2 API.
>
> I guess you could even skip the HTMLPanel and use a pure HTML approach but 
> in my case I still have to mix widgets with pure HTML because I am 
> depending on celltables (which we customized and extended a lot). But I am 
> looking at replacing them with a JS table implementation.
>
> On Mon, Apr 3, 2017 at 2:28 PM Thomas  > wrote:
>
>> David, could you point me to some examples of "UiBinder with elemental2" 
>> ? Quite curious but can't find too (m)any examples via Google.
>>
>>
>> On Monday, March 27, 2017 at 5:21:32 PM UTC+8, DavidN wrote:
>>
>>> Bryan,
>>>
>>> We don't know enough of GWT 3.0 to be 100% certain. As a consequence I'm 
>>> just trying to be as pragmatic as possible. 
>>>  
>>> What I am currently doing is this:
>>> - UiBinder with elemental2
>>> - celltable/datagrid
>>> - JsInterop to interact with JQuery/Bootstrap/D3 and some other 
>>> components for JQuery. Writing the JsInterop was really easy.
>>> - GWTP for MVP design to keep my tests fast and independent of the UI 
>>> layer
>>> - Using restygwt with gwtjackson for RPC.
>>>
>>> The UiBinder dependency will be a problem with GWT 3.x but right now I 
>>> did not find something that really was 100% my taste (Errai comes close, 
>>> but I don't like going full Errai). Migrating the templates should not be 
>>> too hard since the html files are mostly pure HTML tags anyway.
>>>
>>> My exposure the celltable/datagrid is hidden behind a builder pattern 
>>> and the column model is generated using a custom generator. I'm considering 
>>> moving to either a pure JS table implementation or the Vaadin grid 
>>> component. But there is no rush at this moment.
>>>
>>>
>>> On Mon, Mar 27, 2017 at 10:09 AM Frank  wrote:
>>>
>> I am just ignoring all talks about GWT3.
 Nobody really knows what will go away. And the talk about it is going 
 on for almost 3 years.
 I decided I will fix stuff when GWT3 is actually released and I know 
 for sure what will go away.

 I don't use UIBinder and never used it. And I don't use GWT-RPC because 
 I talk to a non java rest service. But also using widgets and 
 gwt-gootstrap3.

 Op maandag 27 maart 2017 06:55:27 UTC+2 schreef Bryan Buchanan:

> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, 
> UI Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT 
> worth using.
>
> From the stuff I've seen about the 3.x release, a lot of this 
> disappears. I'm wondering if there's any document anywhere which sets out 
> "best practice" for any new GWT deleopment (or indeed, would you even use 
> GWT ?).
>
> Thanks.
>
 -- 
 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-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: Starting new GWT project - what to use

2017-04-04 Thread David
Thomas,

I can't point you to any example on the internet. I am not allowed to post
my code online.
But is is actually quite simple. I just use UiBinder and inside plain html
tags inside an HTMLPanel.

Something like this:

  


  


In the UiBinder class you can just do:
@UiField
HTMLElement pageTitle;

@UiField
HTMLInputElement textbox;

and it will be properly filled in. From there you can just use the
Elemental2 API.

I guess you could even skip the HTMLPanel and use a pure HTML approach but
in my case I still have to mix widgets with pure HTML because I am
depending on celltables (which we customized and extended a lot). But I am
looking at replacing them with a JS table implementation.

On Mon, Apr 3, 2017 at 2:28 PM Thomas  wrote:

> David, could you point me to some examples of "UiBinder with elemental2" ?
> Quite curious but can't find too (m)any examples via Google.
>
>
> On Monday, March 27, 2017 at 5:21:32 PM UTC+8, DavidN wrote:
>
> Bryan,
>
> We don't know enough of GWT 3.0 to be 100% certain. As a consequence I'm
> just trying to be as pragmatic as possible.
>
> What I am currently doing is this:
> - UiBinder with elemental2
> - celltable/datagrid
> - JsInterop to interact with JQuery/Bootstrap/D3 and some other components
> for JQuery. Writing the JsInterop was really easy.
> - GWTP for MVP design to keep my tests fast and independent of the UI layer
> - Using restygwt with gwtjackson for RPC.
>
> The UiBinder dependency will be a problem with GWT 3.x but right now I did
> not find something that really was 100% my taste (Errai comes close, but I
> don't like going full Errai). Migrating the templates should not be too
> hard since the html files are mostly pure HTML tags anyway.
>
> My exposure the celltable/datagrid is hidden behind a builder pattern and
> the column model is generated using a custom generator. I'm considering
> moving to either a pure JS table implementation or the Vaadin grid
> component. But there is no rush at this moment.
>
>
> On Mon, Mar 27, 2017 at 10:09 AM Frank  wrote:
>
> I am just ignoring all talks about GWT3.
> Nobody really knows what will go away. And the talk about it is going on
> for almost 3 years.
> I decided I will fix stuff when GWT3 is actually released and I know for
> sure what will go away.
>
> I don't use UIBinder and never used it. And I don't use GWT-RPC because I
> talk to a non java rest service. But also using widgets and gwt-gootstrap3.
>
> Op maandag 27 maart 2017 06:55:27 UTC+2 schreef Bryan Buchanan:
>
> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, UI
> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth
> using.
>
> From the stuff I've seen about the 3.x release, a lot of this disappears.
> I'm wondering if there's any document anywhere which sets out "best
> practice" for any new GWT deleopment (or indeed, would you even use GWT ?).
>
> Thanks.
>
> --
> 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.
>

-- 
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: Starting new GWT project - what to use

2017-04-03 Thread Thomas
David, could you point me to some examples of "UiBinder with elemental2" ? 
Quite curious but can't find too (m)any examples via Google.

On Monday, March 27, 2017 at 5:21:32 PM UTC+8, DavidN wrote:
>
> Bryan,
>
> We don't know enough of GWT 3.0 to be 100% certain. As a consequence I'm 
> just trying to be as pragmatic as possible. 
>  
> What I am currently doing is this:
> - UiBinder with elemental2
> - celltable/datagrid
> - JsInterop to interact with JQuery/Bootstrap/D3 and some other components 
> for JQuery. Writing the JsInterop was really easy.
> - GWTP for MVP design to keep my tests fast and independent of the UI layer
> - Using restygwt with gwtjackson for RPC.
>
> The UiBinder dependency will be a problem with GWT 3.x but right now I did 
> not find something that really was 100% my taste (Errai comes close, but I 
> don't like going full Errai). Migrating the templates should not be too 
> hard since the html files are mostly pure HTML tags anyway.
>
> My exposure the celltable/datagrid is hidden behind a builder pattern and 
> the column model is generated using a custom generator. I'm considering 
> moving to either a pure JS table implementation or the Vaadin grid 
> component. But there is no rush at this moment.
>
>
> On Mon, Mar 27, 2017 at 10:09 AM Frank  
> wrote:
>
>> I am just ignoring all talks about GWT3.
>> Nobody really knows what will go away. And the talk about it is going on 
>> for almost 3 years.
>> I decided I will fix stuff when GWT3 is actually released and I know for 
>> sure what will go away.
>>
>> I don't use UIBinder and never used it. And I don't use GWT-RPC because I 
>> talk to a non java rest service. But also using widgets and gwt-gootstrap3.
>>
>> Op maandag 27 maart 2017 06:55:27 UTC+2 schreef Bryan Buchanan:
>>
>>> Hi,
>>>
>>> I've been a long time GWT user, and my current apps use gwtbootstrap, UI 
>>> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth 
>>> using.
>>>
>>> From the stuff I've seen about the 3.x release, a lot of this 
>>> disappears. I'm wondering if there's any document anywhere which sets out 
>>> "best practice" for any new GWT deleopment (or indeed, would you even use 
>>> GWT ?).
>>>
>>> Thanks.
>>>
>> -- 
>> 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: Starting new GWT project - what to use

2017-04-03 Thread maticpetek
Hi,
  We have the some situation in our company. Long time GWT user and now we 
get two new projects. For one project we will use errai + gwt material 
design. And for other Vaddin.  

On Monday, March 27, 2017 at 6:55:27 AM UTC+2, Bryan Buchanan wrote:
>
> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, UI 
> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth 
> using.
>
> From the stuff I've seen about the 3.x release, a lot of this disappears. 
> I'm wondering if there's any document anywhere which sets out "best 
> practice" for any new GWT deleopment (or indeed, would you even use GWT ?).
>
> Thanks.
>

-- 
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: Starting new GWT project - what to use

2017-03-27 Thread Paul Stockley
I would seriously look into using some kind of Virtual DOM based library 
e.g. React, Preact or Vue. I have been using react for over a year both in 
Java and Javascript and I never want to go back to the old imperative 
approach. Even complex UI code is now relatively easy to comprehend. I made 
GWTReact so we could integrate React into our existing code base. However, 
it would be a good choice for a new project if you want to stick with GWT. 
Once elemental 2 is released I can remove any dependency on the old GWT 
code base.

I also use javascript + flow types for some of our newer projects. This 
works pretty well in intellij with the flow plugin. I don't mind either 
approach. 

On Monday, March 27, 2017 at 12:55:27 AM UTC-4, Bryan Buchanan wrote:
>
> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, UI 
> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth 
> using.
>
> From the stuff I've seen about the 3.x release, a lot of this disappears. 
> I'm wondering if there's any document anywhere which sets out "best 
> practice" for any new GWT deleopment (or indeed, would you even use GWT ?).
>
> Thanks.
>

-- 
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: Starting new GWT project - what to use

2017-03-27 Thread David
Bryan,

We don't know enough of GWT 3.0 to be 100% certain. As a consequence I'm
just trying to be as pragmatic as possible.

What I am currently doing is this:
- UiBinder with elemental2
- celltable/datagrid
- JsInterop to interact with JQuery/Bootstrap/D3 and some other components
for JQuery. Writing the JsInterop was really easy.
- GWTP for MVP design to keep my tests fast and independent of the UI layer
- Using restygwt with gwtjackson for RPC.

The UiBinder dependency will be a problem with GWT 3.x but right now I did
not find something that really was 100% my taste (Errai comes close, but I
don't like going full Errai). Migrating the templates should not be too
hard since the html files are mostly pure HTML tags anyway.

My exposure the celltable/datagrid is hidden behind a builder pattern and
the column model is generated using a custom generator. I'm considering
moving to either a pure JS table implementation or the Vaadin grid
component. But there is no rush at this moment.


On Mon, Mar 27, 2017 at 10:09 AM Frank  wrote:

> I am just ignoring all talks about GWT3.
> Nobody really knows what will go away. And the talk about it is going on
> for almost 3 years.
> I decided I will fix stuff when GWT3 is actually released and I know for
> sure what will go away.
>
> I don't use UIBinder and never used it. And I don't use GWT-RPC because I
> talk to a non java rest service. But also using widgets and gwt-gootstrap3.
>
> Op maandag 27 maart 2017 06:55:27 UTC+2 schreef Bryan Buchanan:
>
> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, UI
> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth
> using.
>
> From the stuff I've seen about the 3.x release, a lot of this disappears.
> I'm wondering if there's any document anywhere which sets out "best
> practice" for any new GWT deleopment (or indeed, would you even use GWT ?).
>
> Thanks.
>
> --
> 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: Starting new GWT project - what to use

2017-03-27 Thread Frank
I am just ignoring all talks about GWT3.
Nobody really knows what will go away. And the talk about it is going on 
for almost 3 years.
I decided I will fix stuff when GWT3 is actually released and I know for 
sure what will go away.

I don't use UIBinder and never used it. And I don't use GWT-RPC because I 
talk to a non java rest service. But also using widgets and gwt-gootstrap3.

Op maandag 27 maart 2017 06:55:27 UTC+2 schreef Bryan Buchanan:
>
> Hi,
>
> I've been a long time GWT user, and my current apps use gwtbootstrap, UI 
> Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth 
> using.
>
> From the stuff I've seen about the 3.x release, a lot of this disappears. 
> I'm wondering if there's any document anywhere which sets out "best 
> practice" for any new GWT deleopment (or indeed, would you even use GWT ?).
>
> Thanks.
>

-- 
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.


Starting new GWT project - what to use

2017-03-26 Thread Bryan Buchanan
Hi,

I've been a long time GWT user, and my current apps use gwtbootstrap, UI 
Binder, widgets, GWT-RPC. i.e. most of the stuff that, IMO, makes GWT worth 
using.

>From the stuff I've seen about the 3.x release, a lot of this disappears. 
I'm wondering if there's any document anywhere which sets out "best 
practice" for any new GWT deleopment (or indeed, would you even use GWT ?).

Thanks.

-- 
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: GWT Developer Plugin added in chrome but not able to run my GWT demo application with eclipse , am trying and just starting with GWT

2016-01-16 Thread Alain Ekambi
Super devmode is the way to go now
On 16 Jan 2016 12:11, "Laxman Gautam"  wrote:

> I am following this link
> 
>  to
> get start with GWT.
> I need to work on GWT and Sencha GXT
>
> I am able to add google plugin for eclipse Juno  and created demo sample
> project but when I am trying to run I am not able to see it is running.
>
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> As
> I have already added GWT plugin as above
>
> but Chrome is showing below page when I click the URL given by Eclipse
> when i am running my gwt application.
>
>
>
> 
>
>
> but
> i am not able to see my application is running  as below..
> 
>
>
> 
> 
>
>
> Please help me to get started with GWT. please suggest good tutorial and
> and stating guide.
>
>
>
>
> --
> 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.


GWT Developer Plugin added in chrome but not able to run my GWT demo application with eclipse , am trying and just starting with GWT

2016-01-16 Thread Laxman Gautam
I am following this link 

 to 
get start with GWT. 
I need to work on GWT and Sencha GXT 

I am able to add google plugin for eclipse Juno  and created demo sample 
project but when I am trying to run I am not able to see it is running.













































As
 
I have already added GWT plugin as above 

but Chrome is showing below page when I click the URL given by Eclipse when 
i am running my gwt application.




but
 
i am not able to see my application is running  as below.. 



 



Please help me to get started with GWT. please suggest good tutorial and 
and stating guide.




-- 
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: GWT Developer Plugin added in chrome but not able to run my GWT demo application with eclipse , am trying and just starting with GWT

2016-01-16 Thread Laxman Gautam
I am new to GWT what is that Super devmode?

On Saturday, January 16, 2016 at 6:12:12 PM UTC+7, Laxman Gautam wrote:
>
> I am following this link 
> 
>  to 
> get start with GWT. 
> I need to work on GWT and Sencha GXT 
>
> I am able to add google plugin for eclipse Juno  and created demo sample 
> project but when I am trying to run I am not able to see it is running.
>
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> As
>  
> I have already added GWT plugin as above 
>
> but Chrome is showing below page when I click the URL given by Eclipse 
> when i am running my gwt application.
>
>
>
> 
>
>
> but
>  
> i am not able to see my application is running  as below.. 
> 
>
>
> 
>  
> 
>
>
> Please help me to get started with GWT. please suggest good tutorial and 
> and stating guide.
>
>
>
>
>

-- 
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.


Starting with GWT

2011-10-23 Thread Ari
Hi,

I'm interested in learning to develop web applications with GWT and
I'd appreciate insight on what resources (books, websites, etc.) will
be most helpful in my endeavour. Furthermore, could someone explain or
point me to where I can find out how GWT interacts with server-side
code, i.e. Is all processing done client-side and then sent to the
server/service? How do GWT apps interact with databases? Lastly, is it
common to deploy GWT as a front-end only and use some sort of service
as the back-end? Thanks.

-Ari

-- 
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.



how and where to starting customizing GWT compiler?

2011-03-18 Thread KD
GWT is not doing a great job in figuring out which classes will
actually need to be serialized and scoops them all.

exclude tag in gwt.xml will not work

extend-configuration-property name=rpc.blacklist
value=com.mypackage

Reorganize/Refactoring my code is not an option for now.

So my last resort is to annotate the classes I dot not want to have
serialized(mainly abstract classes outside of GWT module)

and then change/customize the way GWT compiler is scooping up classes.

Which class in GWT dev code would I need to touch in order to do this?

-- 
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.



Starting with GWT

2010-07-21 Thread Vinicius Carvalho
Hi there! I'm starting a project and the candidate architecture will
be GWT 2.0.4 + Spring 3.0 + SpringGWTRPC + Hibernate 3.3 + Gilead.

So far, the GWT project have been created and I'm integrating it with
spring. My first thought was to separate in two maven modules nested
in a main project:

parent
 - web
 - services (spring services, daos, model)

My only concern with this lies on the gilead and the domain objects.
From what I've seen so far, you need to inform gwt about you domain
classes in order to it be able to serialize it right? Considering
they'll be on a different jar, how can I do this? Create a separate
gwt module?

Regards

-- 
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: Starting with GWT

2010-07-21 Thread rudolf michael
well the way i did it and i am sure that this is not the optimal way.
Since they dont want to use maven in here i had to create the
package *.share.* on svn and share it by the gwt module and any other
module/project that needs to use those classes.
so when i ran eclipse and import it, it looks like a linked package.

regards,
Rudolf Michael

On Wed, Jul 21, 2010 at 3:28 PM, Vinicius Carvalho 
viniciusccarva...@gmail.com wrote:

 Hi there! I'm starting a project and the candidate architecture will
 be GWT 2.0.4 + Spring 3.0 + SpringGWTRPC + Hibernate 3.3 + Gilead.

 So far, the GWT project have been created and I'm integrating it with
 spring. My first thought was to separate in two maven modules nested
 in a main project:

 parent
  - web
  - services (spring services, daos, model)

 My only concern with this lies on the gilead and the domain objects.
 From what I've seen so far, you need to inform gwt about you domain
 classes in order to it be able to serialize it right? Considering
 they'll be on a different jar, how can I do this? Create a separate
 gwt module?

 Regards

 --
 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: [gwt-contrib] Re: Dev-Mode is not starting up, GWT compile works fine

2010-01-04 Thread John Tamplin
On Sun, Jan 3, 2010 at 1:02 PM, dflorey daniel.flo...@gmail.com wrote:

 I had to remove all gwt dependencies from the run configuration and
 restore the defaults to get rid of this error.
 Just in case someone else struggles...


What version are you running?  That was added as an optimization for webmode
after 2.0 and reverted after it was discovered to cause problems in devmode.

-- 
John A. Tamplin
Software Engineer (GWT), Google

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

[gwt-contrib] Re: Dev-Mode is not starting up, GWT compile works fine

2010-01-04 Thread dflorey
I've been running trunk but reverted back to 2.0 plugin.

On Jan 4, 9:47 am, John Tamplin j...@google.com wrote:
 On Sun, Jan 3, 2010 at 1:02 PM, dflorey daniel.flo...@gmail.com wrote:
  I had to remove all gwt dependencies from the run configuration and
  restore the defaults to get rid of this error.
  Just in case someone else struggles...

 What version are you running?  That was added as an optimization for webmode
 after 2.0 and reverted after it was discovered to cause problems in devmode.

 --
 John A. Tamplin
 Software Engineer (GWT), Google

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


Re: [gwt-contrib] Re: Dev-Mode is not starting up, GWT compile works fine

2010-01-04 Thread John Tamplin
On Mon, Jan 4, 2010 at 4:46 AM, dflorey daniel.flo...@gmail.com wrote:

 I've been running trunk but reverted back to 2.0 plugin.


If you have an updated trunk, you shouldn't have this problem.  If you do,
please let me know.

-- 
John A. Tamplin
Software Engineer (GWT), Google

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

[gwt-contrib] Dev-Mode is not starting up, GWT compile works fine

2010-01-03 Thread dflorey
For some reason I get this error when launching oophm devmode:

18:48:49.359 [ERROR] [website] Unable to load module entry point
class

com.floreysoft.website.client.Website (see associated exception for
details)

java.lang.NoSuchMethodError: java.lang.String.equals(Ljava/lang/
String;)Z
at com.floreysoft.website.client.Website.onModuleLoad(Website.java:
50)

GWT-Compile works just fine (both eclipse). Any ideas?

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


[gwt-contrib] Re: Dev-Mode is not starting up, GWT compile works fine

2010-01-03 Thread dflorey
I had to remove all gwt dependencies from the run configuration and
restore the defaults to get rid of this error.
Just in case someone else struggles...

On Jan 3, 6:50 pm, dflorey daniel.flo...@gmail.com wrote:
 For some reason I get this error when launching oophm devmode:

 18:48:49.359 [ERROR] [website] Unable to load module entry point
 class

 com.floreysoft.website.client.Website (see associated exception for
 details)

 java.lang.NoSuchMethodError: java.lang.String.equals(Ljava/lang/
 String;)Z
     at com.floreysoft.website.client.Website.onModuleLoad(Website.java:
 50)

 GWT-Compile works just fine (both eclipse). Any ideas?

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


Re: Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-09 Thread Chris
No Ideas?

On Dec 8, 9:15 pm, Chris christopher.burr...@gmail.com wrote:
 Hi All

 When I start up my GWT application using the hosted server/browser,
 part way through the loading of things, I get the following message:

 [WARN] Server class 'com.google.gwt.json.client.JSONException' could
 not be found in the web app, but was found on the system classpath
 [WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/gwt-user.jar' to the web app classpath for this session
 More info: file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/doc/helpInfo/webAppClassPath.html

 So I had a look at the last HTML file. But I'm confused, cos before
 adding GXT, I wasn't getting this, but now I am (I think it's
 related). I've tried adding the following line to my .gwt.xml file:
 inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
 problem...

 Is the solution really to add the mentioned jar file to my web-inf
 directory? Shouldn't this jar be picked up when I compile/launch the
 GWT application? The jar is included in my GWT SDK section in Eclipse.

 Thanks
 Chris

--

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: Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-09 Thread Paul Grenyer
It's almost certainly because some jars you're referencing in your eclipse 
project are no present in your WEB-INF lib directory.

--Original Message--
From: Chris
Sender: google-web-toolkit@googlegroups.com
To: Google Web Toolkit
ReplyTo: google-web-toolkit@googlegroups.com
Subject: Re: Warnings on starting up GWT application JSONException could not be 
found in the web app
Sent: 9 Dec 2009 18:49

No Ideas?

On Dec 8, 9:15 pm, Chris christopher.burr...@gmail.com wrote:
 Hi All

 When I start up my GWT application using the hosted server/browser,
 part way through the loading of things, I get the following message:

 [WARN] Server class 'com.google.gwt.json.client.JSONException' could
 not be found in the web app, but was found on the system classpath
 [WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/gwt-user.jar' to the web app classpath for this session
 More info: file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/doc/helpInfo/webAppClassPath.html

 So I had a look at the last HTML file. But I'm confused, cos before
 adding GXT, I wasn't getting this, but now I am (I think it's
 related). I've tried adding the following line to my .gwt.xml file:
 inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
 problem...

 Is the solution really to add the mentioned jar file to my web-inf
 directory? Shouldn't this jar be picked up when I compile/launch the
 GWT application? The jar is included in my GWT SDK section in Eclipse.

 Thanks
 Chris

--

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.



--

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.




Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-08 Thread Chris
Hi All

When I start up my GWT application using the hosted server/browser,
part way through the loading of things, I get the following message:

[WARN] Server class 'com.google.gwt.json.client.JSONException' could
not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
windows-1.7.0/gwt-user.jar' to the web app classpath for this session
More info: file:/C:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
windows-1.7.0/doc/helpInfo/webAppClassPath.html

So I had a look at the last HTML file. But I'm confused, cos before
adding GXT, I wasn't getting this, but now I am (I think it's
related). I've tried adding the following line to my .gwt.xml file:
inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
problem...

Is the solution really to add the mentioned jar file to my web-inf
directory? Shouldn't this jar be picked up when I compile/launch the
GWT application? The jar is included in my GWT SDK section in Eclipse.

Thanks
Chris



--

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: Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-06-01 Thread Noel King

Hi

Agree with Lars here the documentation on GWT website is excellent
and
If you use eclipse plugin you should be up and running.  I have read a
number
 of the GWT books and think GWT in Practice  is great book for showing
the bigger
picture for GWT demonstrating other technologies it integrates with.
Other than that
Google Web Toolkit Applications was another good read.  Have not
looked lately but you
Should ask yorself how up todate some of these books really are GWT
has made some
Excellent enhancements over last few releases which would not be
picked up in older books

Cheers

Noel

On May 31, 6:58 pm, vogella lars.vo...@googlemail.com wrote:
 Hi,

 I recommed to start with a few GWT online tutorials and see what your
 learning need is.

 Best regards, Lars

 On 30 Mai, 20:50, paw shalo...@gmail.com wrote:

  I've read a few posts with recommended books for GWT, but I haven't
  touched Java since around 1996.  Should I study up on Java before
  learning GWT or do any of the GWT books cover enough Java to learn as
  I go?

  Thanks for any help and suggestions.
--~--~-~--~~~---~--~~
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: Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-06-01 Thread Amzad Basha


It is always recommended to know basics of JAva programming before
moving onto GWT, an AJAX based framework using Java.

Cheers!
Amzad Basha.

On May 31, 10:58 pm, vogella lars.vo...@googlemail.com wrote:
 Hi,

 I recommed to start with a few GWT online tutorials and see what your
 learning need is.

 Best regards, Lars

 On 30 Mai, 20:50, paw shalo...@gmail.com wrote:

  I've read a few posts with recommended books for GWT, but I haven't
  touched Java since around 1996.  Should I study up on Java before
  learning GWT or do any of the GWT books cover enough Java to learn as
  I go?

  Thanks for any help and suggestions.

--~--~-~--~~~---~--~~
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: Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-05-31 Thread rjcarr

You could probably learn as you go but you might get frustrated
quickly as java has added quite a few features since your last use.

I'd read a what's new to java 1.4 and then a what's new to java 1.5
and then read over the gwt getting started guides and a few other
examples and you should be fine, assuming you're an otherwise
competent programmer.

On May 30, 11:50 am, paw shalo...@gmail.com wrote:
 I've read a few posts with recommended books for GWT, but I haven't
 touched Java since around 1996.  Should I study up on Java before
 learning GWT or do any of the GWT books cover enough Java to learn as
 I go?

 Thanks for any help and suggestions.
--~--~-~--~~~---~--~~
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: Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-05-31 Thread Paul Grenyer
Don't forget Java 6.

Sent from my BlackBerry® wireless device

-Original Message-
From: rjcarr rjc...@gmail.com

Date: Sun, 31 May 2009 02:12:17 
To: Google Web ToolkitGoogle-Web-Toolkit@googlegroups.com
Subject: Re: Returning to Java after a long lapse and starting with GWT. Any  
recommended books that cover both?



You could probably learn as you go but you might get frustrated
quickly as java has added quite a few features since your last use.

I'd read a what's new to java 1.4 and then a what's new to java 1.5
and then read over the gwt getting started guides and a few other
examples and you should be fine, assuming you're an otherwise
competent programmer.

On May 30, 11:50 am, paw shalo...@gmail.com wrote:
 I've read a few posts with recommended books for GWT, but I haven't
 touched Java since around 1996.  Should I study up on Java before
 learning GWT or do any of the GWT books cover enough Java to learn as
 I go?

 Thanks for any help and suggestions.


--~--~-~--~~~---~--~~
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: Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-05-31 Thread vogella

Hi,

I recommed to start with a few GWT online tutorials and see what your
learning need is.

Best regards, Lars

On 30 Mai, 20:50, paw shalo...@gmail.com wrote:
 I've read a few posts with recommended books for GWT, but I haven't
 touched Java since around 1996.  Should I study up on Java before
 learning GWT or do any of the GWT books cover enough Java to learn as
 I go?

 Thanks for any help and suggestions.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Returning to Java after a long lapse and starting with GWT. Any recommended books that cover both?

2009-05-30 Thread paw

I've read a few posts with recommended books for GWT, but I haven't
touched Java since around 1996.  Should I study up on Java before
learning GWT or do any of the GWT books cover enough Java to learn as
I go?

Thanks for any help and suggestions.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Starting with GWT - Error compiling GWT-RPC Class

2009-02-03 Thread Vinicius Carvalho

Hello there! I've just started with GWT and have this RPC Servlet:

package org.openspotlight.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;

public interface GWTService extends RemoteService {
public void listAvailableServices(AsyncCallbackListString
callback);
}


package org.openspotlight.server;

import java.util.ArrayList;
import java.util.List;

import org.openspotlight.client.GWTService;
import org.openspotlight.parsers.Parser;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.SerializationException;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class GWTServiceImpl extends RemoteServiceServlet implements
GWTService{

private ListParser parsers;

@Override
public String processCall(String payload) throws
SerializationException {
Thread.currentThread().setContextClassLoader(
  this.getClass().getClassLoader() );
return super.processCall(payload);
}

public void listAvailableServices(AsyncCallbackListString
callback) {
ListString services = new ArrayListString();
if(parsers != null){
for(Parser p : parsers){
services.add(p.getSupportedTypes());
}
}

}

}

module

  !-- Inherit the core Web Toolkit stuff.
--
  inherits name='com.google.gwt.user.User'/

  !-- Inherit the default GWT style sheet.  You can change
--
  !-- the theme of your GWT application by uncommenting
--
  !-- any one of the following lines.
--
  inherits name='com.google.gwt.user.theme.chrome.Chrome'/
  !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/
--
  !-- inherits name='com.google.gwt.user.theme.dark.Dark'/
--

  !-- Other module inherits
--


  !-- Specify the app entry point class.
--
  entry-point class='org.openspotlight.client.OSLApplication'/

  !-- Specify the application specific style sheet.
--
  stylesheet src='OSLApplication.css' /
  servlet path=/gwtServices
class=org.openspotlight.server.GWTServiceImpl/

/module


When I run ./OSLApplication-compile, I get this error:

vinicius-carvalhos-macbook:gwt-bundle viniciuscarvalho$ ./
OSLApplication-compile
Removing units with errors
   [ERROR] Errors in 'file:/Users/viniciuscarvalho/Documents/Caravela/
spotlight/gwt-bundle/src/org/openspotlight/client/OSLApplication.java'
  [ERROR] Line 5: The import
org.openspotlight.server.GWTServiceImpl cannot be resolved
Compiling module org.openspotlight.OSLApplication
Computing all possible rebind results for
'org.openspotlight.client.OSLApplication'
   Rebinding org.openspotlight.client.OSLApplication
  Checking rule generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/
 [ERROR] Unable to find type
'org.openspotlight.client.OSLApplication'
[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
[ERROR] Build failed


I have external libs pointed using eclipse project properties, but
those libs are used in antoher class (org.openspotlight.gwt.internal)

Any ideas?

BTW: Does compile, compiles all the sources or only those at server
and client folders?

Regards

--~--~-~--~~~---~--~~
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: Starting with GWT - Error compiling GWT-RPC Class

2009-02-03 Thread Litty Preeth
[ERROR] Errors in 'file:/Users/viniciuscarvalho/

 Documents/Caravela/
 spotlight/gwt-bundle/src/org/openspotlight/client/OSLApplication.java'
  [ERROR] Line 5: *The import
 org.openspotlight.server.**GWTServiceImpl cannot be resolved*


Plz see the line in bold. It says that your client class OSLApplication has
an import of GWTServiceImpl, which is not valid. Why are you importing the
RPC implementation class? I suppose this is by mistake.

 BTW: Does compile, compiles all the sources or only those at server and
client folders?
Only client folder is converted to javascript.


On Tue, Feb 3, 2009 at 4:28 PM, Vinicius Carvalho 
viniciusccarva...@gmail.com wrote:


 Hello there! I've just started with GWT and have this RPC Servlet:

 package org.openspotlight.client;

 import java.util.List;

 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.rpc.RemoteService;

 public interface GWTService extends RemoteService {
public void listAvailableServices(AsyncCallbackListString
 callback);
 }


 package org.openspotlight.server;

 import java.util.ArrayList;
 import java.util.List;

 import org.openspotlight.client.GWTService;
 import org.openspotlight.parsers.Parser;

 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.rpc.SerializationException;
 import com.google.gwt.user.server.rpc.RemoteServiceServlet;

 public class GWTServiceImpl extends RemoteServiceServlet implements
 GWTService{

private ListParser parsers;

@Override
public String processCall(String payload) throws
 SerializationException {
Thread.currentThread().setContextClassLoader(
  this.getClass().getClassLoader() );
return super.processCall(payload);
}

public void listAvailableServices(AsyncCallbackListString
 callback) {
ListString services = new ArrayListString();
if(parsers != null){
for(Parser p : parsers){
services.add(p.getSupportedTypes());
}
}

}

 }

 module

  !-- Inherit the core Web Toolkit stuff.
 --
  inherits name='com.google.gwt.user.User'/

  !-- Inherit the default GWT style sheet.  You can change
 --
  !-- the theme of your GWT application by uncommenting
 --
  !-- any one of the following lines.
 --
  inherits name='com.google.gwt.user.theme.chrome.Chrome'/
  !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/
 --
  !-- inherits name='com.google.gwt.user.theme.dark.Dark'/
 --

  !-- Other module inherits
 --


  !-- Specify the app entry point class.
 --
  entry-point class='org.openspotlight.client.OSLApplication'/

  !-- Specify the application specific style sheet.
 --
  stylesheet src='OSLApplication.css' /
  servlet path=/gwtServices
 class=org.openspotlight.server.GWTServiceImpl/

 /module


 When I run ./OSLApplication-compile, I get this error:

 vinicius-carvalhos-macbook:gwt-bundle viniciuscarvalho$ ./
 OSLApplication-compile
 Removing units with errors
   [ERROR] Errors in 'file:/Users/viniciuscarvalho/Documents/Caravela/
 spotlight/gwt-bundle/src/org/openspotlight/client/OSLApplication.java'
  [ERROR] Line 5: The import
 org.openspotlight.server.GWTServiceImpl cannot be resolved
 Compiling module org.openspotlight.OSLApplication
 Computing all possible rebind results for
 'org.openspotlight.client.OSLApplication'
   Rebinding org.openspotlight.client.OSLApplication
  Checking rule generate-with
 class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/
 [ERROR] Unable to find type
 'org.openspotlight.client.OSLApplication'
[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
 [ERROR] Build failed


 I have external libs pointed using eclipse project properties, but
 those libs are used in antoher class (org.openspotlight.gwt.internal)

 Any ideas?

 BTW: Does compile, compiles all the sources or only those at server
 and client folders?

 Regards

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---