How to define and use a module that builds a gtw (2.4) library

Using 10.5 Ultimate , I'm trying to create a project with two modules using gwt. The first creates defines a set of shared client code - i.e. it has no entry point; the second is a gwt application that wishes to use the classes defined in the first module. The problem is that executing the the second project (under debug, for example) is that the source from the first module never get included in the classpath when the DevMode server is run even though the second module is dependant on the first and the second module "inherits" the first in the module .gwt.xml.

I can't see to find any way of hacking around this problem - I guess the files need to find there way into the ../run/www directory structure somehow, but all this seems to be internal to intellij with no way of controlling it.

Any solutions most appreciated.

Thx

Richard.

3 comments
Comment actions Permalink

Do you have a GWT facet in the first module?

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hi Nikolay,

Both modules have a gwt facet.

Thanks,

Richard.

0
Comment actions Permalink

Could you please attach your project files (*.iml files and .idea directory)?

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.