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 <avshaba...@gmail.com> wrote:
> Thank you so much for your advice.
> I've created a small proof-of-concept project (available for svn,
> revision 291: svn cohttp://webkit-jspf.googlecode.com/svn/trunk/tmp/maven/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
> GWT compilation fails:
> [INFO] com.mysite.generic.Generic is up to date. GWT compilation
> [INFO] Compiling module com.mysite.gwtmod.Application
> [INFO] Validating newly compiled units
> [INFO] [ERROR] Errors in 'file:/home/alex/proj/googlecode-webkit-
> [INFO] [ERROR] Line 16: No source code is available for type
> com.mysite.generic.Constants; did you forget to inherit a required
> - 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 <t.bro...@gmail.com> wrote:
> > On 25 oct, 13:22, Alex Shabanov <avshaba...@gmail.com> wrote:
> > In other words, general-constants is a library. See:http://mojo.codehaus.org/gwt-maven-plugin/user-guide/library.html
> > or as an alternative:http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html
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@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment