Hi Magnus,
On Saturday, November 15, 2014 9:05:19 PM UTC+5:30, Magnus wrote:
-- can add like this,
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>2.7.0-rc1</version> <dependencies> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <version>${gwt.version}</version> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> <version>${gwt.version}</version> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-codeserver</artifactId> <version>${gwt.version}</version> </dependency> </dependencies> </plugin>On Saturday, November 15, 2014 9:05:19 PM UTC+5:30, Magnus wrote:
Hi,I have a pure java library created with maven and the archetype "quickstart":mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart Now I would like to do the following:
- add classes to the library that use GWT classes
- use the library classes, e. g. in a maven modular-webapp on the client side
- edit the library code in eclipse, while eclipse "sees" the GWT classes
for example, to add imports automatically when hovering an unknown class nameHow do I have to modify the pure java library to do this?I have tried to adopt contents of the pom.xml from the modular-webapp archetype (client side), but without success.I also don't know if I have to add dependencies (gwt: user, dev and servlet, but which one?) or plugins (codehaus stuff), or both?There are docs on the net (codehaus, mojo, ...) but I am unsure if these are suitable for me.Remember, I don't want to build a web app here, just collect code to be used in web apps.Please point me to the right direction or to a suitable documentation.ThanksMagnus
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.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment