Hi,

I am implementing a rather standard backend/frontend structure. My
backend is implemented in Java. My frontend is implemented in GWT. I
am using Eclipse.

The frontend will be a simple viewer for "some data", that will be
accessed through an interface.

I would like to package this interface in a Jarfile, so the backend
and frontend can share this code without creating any cut/paste/synch
errors.

I have created a Jar file, that contains a skeleton structure (my
"hello world" of including a Jar"). It contains both the .class
and .java files from the interface project).

The contents are:
a...@worm:~/tmp$ unzip orion-gwtresultsmodel.jar
Archive:  orion-gwtresultsmodel.jar
   creating: META-INF/
  inflating: META-INF/MANIFEST.MF
   creating: dk/
   creating: dk/ange/
   creating: dk/ange/orion/
   creating: dk/ange/orion/gwt/
   creating: dk/ange/orion/gwt/models/
   creating: dk/ange/orion/gwt/models/results/
   creating: dk/ange/orion/gwt/models/results/interf/
  inflating: dk/ange/orion/gwt/models/results/interf/Results.class
  inflating: dk/ange/orion/gwt/models/results/interf/Results.java

I have put the jarfile in my GWT project (in ./lib), and added it to
the Java build path in Eclipse. Now my editor can see it.

Unfortunately, when I try to run the GWT project, I get this error:

"Failed to load module dk.ange.orion.gwt.frontend.GwtResults. Please
see the log in the development shell for details".

The log reads:
"Compiling java source files in module
'dk.ange.orion.gwt.frontend.GwtResults'
Removing units with errors
Errors in 'file:/home/asj/crypt/myShopInstall/gwtresults/dk/ange/orion/
gwt/frontend/client/GwtResults.java'
Line 24: No source code is available for type
dk.ange.orion.gwt.models.results.interf.Results; did you forget to
include a required module?"

Any hints?

Regards,
  Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to