One module contains JPA objects. Used with hibernate.
I would like make this a GWT module do I can use these classes in my GWT module.
Don't know if this is even possible.. what will the GWT compiler say to all the jpa/hibernate annotations ??
But so far I build the jpa module so it contains the source code and added a .gwt.xml file..
<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name="com.google.gwt.user.User" />
<source path='ppmock' />
</module>
This file is placed in
src/main/java/com/mycomp/jsi/model
The java classes are in
src/main/java/com/mycomp/jsi/model/ppmock
The jar file gets build including the gwt.xml file and the source file.
In my GWT module I inherit the module..
<inherits name="com.mycomp.jsi.model.ppmock"/>
And in the pom.xml file of the gwt module :
<compileSourcesArtifacts>
<compileSourcesArtifact>com.mycomp.jsi.model.ppmock</compileSourcesArtifact>
</compileSourcesArtifacts>
But when I "mvn clean install" i get..
[WARNING] Declared compileSourcesArtifact was not found in project dependencies com.mycomp.jsi.model.ppmock
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment