Re: Problems creating my first reusable module: import cannot be resolved

2010-08-20 Thread Sleeveen
Thanks for the responses - much appreciated. The root cause turned out to be a few things. 1. My Eclipse environment was in some weird state. After restarting Eclipse, things became much more obvious. 2. Hyphens in the .gwt.xml name were a no-no 3. Class.newInstance() isn't supported in the

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-19 Thread mass0ne
For me... package: src `-my.site.tools.layout `-Layout.gwt.xml progect.gwt.xml: inherits name=my.site.tools.layout.Layout/ ...works perfectly. Test your project before you pack them in jar. debug-junit-compile- jar The very first thing that comes to mind: Jar not empty? On Aug 18, 11:44 pm,

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-19 Thread lineman78
feel free to shoot me a zip of the project and I will tell you whats wrong. On Aug 18, 11:44 am, Sleeveen pstron...@gmail.com wrote: I've dropped the JAR in war/WEB-INF/lib since it will (eventually) be used on the server side of things. I've removed the hyphens from the name of the module

Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread Sleeveen
I'm in the process of trying to create my first reusable module in GWT. For now, this module contains only some simple classes to be used as part of a GWT RPC implementation. The module DOES NOT have an entry-point, just source path specifications. This code would normally go into the shared

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread Fernando
Your .xml seems out of place On 17 ago, 18:12, Sleeveen pstron...@gmail.com wrote: I'm in the process of trying to create my first reusable module in GWT. For now, this module contains only some simple classes to be used as part of a GWT RPC implementation. The module DOES NOT have an

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread lineman78
From what I can tell there is nothing wrong with the structure of your project or the packaging. Generics have been supported since GWT 1.5. First of all, you dont want it to be in war/WEB-INF/lib. This is for server-side Java libraries, but this won't hurt anything. Second, I would try taking

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread Sleeveen
Fernando, Could you elaborate on this comment? Do you mean the my-module.gwt.xml? And where do you think it should be placed? Thanks! On Aug 18, 9:42 am, Fernando spiderkens...@gmail.com wrote: Your .xml seems out of place -- You received this message because you are subscribed to the

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread Sleeveen
I've dropped the JAR in war/WEB-INF/lib since it will (eventually) be used on the server side of things. I've removed the hyphens from the name of the module (everywhere): still no luck. I've removed the rename-to attribute: still no luck. I am indeed using Eclipse. The JAR is configured as a