splitting client, RPC and server in different eclipse projects?

18 views
Skip to first unread message

TomJanssens

unread,
Oct 22, 2008, 4:26:27 PM10/22/08
to Google Web Toolkit
Hello all,

I am trying to split the client, RPC and server code in different
eclipse projects. Is this possible? Before I splitted the code it was
working fine, however after splitting it in multiple projects I get
the following errors.

[TRACE] Removing units with errors
[ERROR] Errors in 'file:/C:/workspace/grivio-client/src/com/blugri/
client/preferencesmodule/PreferencesModule.java'
[ERROR] Line 10: No source code is available for type
com.blugri.client.preferencesmodule.PreferencesServiceAsync; did you
forget to inherit a required module?
[ERROR] Line 31: No source code is available for type
com.blugri.client.preferencesmodule.PreferencesService; did you forget
to inherit a required module?

Can anbody tell me what I am forgetting?

Another change which I did at the same time was updating gwt, gwt-ext
and gwt-ext-ux to the latest version. I am also getting this error:

[TRACE] Removing units with errors
[ERROR] Errors in 'jar:file:/C:/workspace/grivio-client/lib/
gwtextux.jar!/com/gwtextux/client/widgets/upload/SwfUploadPanel.java'
[ERROR] Line 81: Cannot reduce the visibility of the inherited method
from GridPanel

Cheers
Tom

olivier nouguier

unread,
Oct 22, 2008, 6:02:55 PM10/22/08
to Google-We...@googlegroups.com
2 points:
* If you've split your source in 2 part you must now have 2 module.gwt.xml, one (Lib) inheriting of the other (App).
* At gwt compile time the *source* must be found (added)  in the classpath.
--
Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

Tom Janssens

unread,
Oct 23, 2008, 2:38:54 AM10/23/08
to Google Web Toolkit

Martin Trummer

unread,
Oct 23, 2008, 3:28:34 AM10/23/08
to Google Web Toolkit
did you post the wrong link?
it leads to the current page again..

On 23 Okt., 08:38, "Tom Janssens" <jansse...@gmail.com> wrote:
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...

walden

unread,
Oct 23, 2008, 8:04:28 AM10/23/08
to Google Web Toolkit
a third point:

* If you change everything at once, then it's polynomially harder to
figure out which change(s) caused the failure

On Oct 22, 6:02 pm, "olivier nouguier" <olivier.nougu...@gmail.com>
wrote:
> illusoire.- Hide quoted text -
>
> - Show quoted text -

Bakulkumar

unread,
Oct 24, 2008, 4:32:50 PM10/24/08
to Google Web Toolkit
If you have all project in the same workspace, and you are dividing it
only for convenience and not for reusability in other application, you
may not need to have many *.gwt.xml file.

Modify your *-compile.cmd file as follow:
@java -cp "%~dp0\src;%~dp0\..\app-common\src;%~dp0\..\app-rpc\src;C:/
usr/local/java/gwt-windows-1.4.61/gwt-user.jar;C:/usr/local/java/gwt-
windows-1.4.61/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -
out "%~dp0\www" %* com.bk.GWTPOC

GWTPOC is name of my gwt module and app-common, app-rpc are the name
of folder of relavent project.

+Bakul+

On Oct 22, 6:02 pm, "olivier nouguier" <olivier.nougu...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages