question, I created my initial project using the included
webAppCreator script like this ...
$GWT_HOME/webAppCreator -out myProject -maven com.myProject
(I'm on a Mac so change your path accordingly)
This created my initial project template including the pom.xml file.
See the generated README.txt file. I then imported the project into
Eclipse using the m2eclipse plugin and importing as an existing maven
project. Build from the command line or from Eclipse.
This gives you a working template ... add dependencies, get rid of the
sample code and start doing your own thing. First thing I did was
just add a dependency and did a mvn clean gwt:compile package then
looked in the the generated war file's WEB-INF/lib and my dependency
Very easy. I don't know if I'll run into problems as my app grows in
complexity but for a start I couldn't be happier.
On Jan 30, 2:01 am, "Mike.G" <gsun...@gmail.com> wrote:
> hi all:
> i'm using maven to organize my gwt project, everything works well but one
> defect: Is there a way to copy all maven referenced jars to the
> when i use maven POM to add a new depencies, i have to copy the jar and it's
> dependent jar to WEB-INF/lib, usually i may forget copying some, which will
> lead to "no class def" error when i deliver the project to web server. but
> in development mode, it works well.
> could someone help me? how did you tackle this messy situation? thanks very
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.