There is an outdated archetype which creates a very simple Gwt
project without tests nor RPCs. Unfortunately the generated pom.xml is
for old gwt versions and needs that you do a bunch of changes by hand.
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo \
-DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=1.1 \
-DgroupId=com.foo -DartifactId=myApplication
- Lately I have sent a patch to gwt which adds the ability to generate
pom.xm to webAppCreator. But the patch is under review and it wont be
available until a new gwt version (in the case it is included).
http://gwt-code-reviews.appspot.com/397801/show
- So, I recommend you to get the pom.xml from a working application
and use it as a template for your project.
Some days ago, I ported the google contacts example application in
order to use available libraries for MVP and add tests for all the
code. I think It should be a good point for starting your project:
http://gwt-workshop.googlecode.com/files/GwtWsMvpContacts.zip
My First GWT IGoogle Gadget, What do you think? - Google Web Toolkit | Google Groups - 0 views
-
I built a basic and more complex gadgets which are demoed here. More Info here: http://code.google.com/p/gwt-examples/wiki/project_Gadget?ts=12722477... Basic Gadget is released here: IGoogle Directory: http://www.google.com/ig/directory?url=demogadgetmathflashcard.appspo...
Maven and GWT - a never ending story? - 0 views
-
One of the cool things on GWT is, that you cannot just use Java as a programming language, you can also use all your cool and great tools, like Eclipse, JUnit, or build tools like Ant, Gradle or Maven. Sure you can, but this Maven thing seems not to be so easy. So lets take a look on how to solve it.
-
keep the structure clean by separating client (GWT) and server (maybe Java or even any other language) code in a strict way. This means, that your GWT code will not be in the same project as your Java EE web descriptor (web.xml).
-
If you have done the import, our photo-album-server module will be a Dynamic Web Project in Eclipse and you can add it to your Tomcat, JBoss or whatever server runtime. You can start it and run it as you like.
- ...2 more annotations...
Google Web Toolkit (GWT 2.0) with Eclipse - Tutorial - 0 views
-
The standard approach in Java is to have separated projects for separate purposes. For example the domain model of the application is usually defined in its own project.
-
This chapter describes how you can make these projects available to the GWT compiler as modules.
-
GWT need to have access to the source files to compile them into Javascript code. If you add the project or the jar file to your GWT classpath then the Java compiler will not complain if you use the classes from the included project / jar but the GWT compiler will not be able to compile them. To make the Java files available to the GWT compiler you need to Create a gwt.xml file in the Java project / jar file which you want to use - This will instruct the GWT compiler to use the listed classes. Use the included library via the inherit definition If you are using a jar file you also need to include the source files in the jar
1 - 6 of 6
Showing 20▼ items per page