Sunday, October 31, 2010

Re: "client" code from external directory

Guys, can anybody help me, please?

The solution should be pretty simple but I still can't figure out what
is the problem.

Does someone ever tried the approach given above?

On Oct 26, 8:19 pm, Alex Shabanov <> wrote:
> Thank you so much for your advice.
> I've created a small proof-of-concept project (available for svn,
> revision 291: svn co
> gwt-external-lib)
> Basically it's structure follows the one I described above, there is a
> generic module that defines Constants class with two public static
> constants and there is a gwt module "gwtmod" that includes the generic
> module and uses it's Constants class.
> To make Constants available for gwtmod I've added corresponding
> compileSourcesArtifacts entry to it's gwt-maven-plugin's configuration
> section, added Generic.gwt.xml that refers to the sources from generic
> module's domain and included Generic module in the
> Application.gwt.xml.
> GWT compilation fails:
> [INFO] com.mysite.generic.Generic is up to date. GWT compilation
> skipped
> [INFO] Compiling module com.mysite.gwtmod.Application
> [INFO]    Validating newly compiled units
> [INFO]       [ERROR] Errors in 'file:/home/alex/proj/googlecode-webkit-
> jspf/tmp/maven/gwt-external-lib/gwtmod/src/main/java/com/mysite/gwtmod/
> client/'
> [INFO]          [ERROR] Line 16: No source code is available for type
> com.mysite.generic.Constants; did you forget to inherit a required
> module?
> - it sees Generic module but omits it's compilation because maven
> thinks that it is "up to date". And yes, I did mvn clean install.
> Any help greatly appreciated!
> On Oct 25, 10:33 pm, Thomas Broyer <> wrote:
> > On 25 oct, 13:22, Alex Shabanov <> wrote:
> >>...
> > In other words, general-constants is a library. See:
> > or as an alternative:

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment