Wednesday, November 24, 2010

AppEngine, Maven and Eclipse

First step is to create the maven project:

mvn archetype:create


and select the

gae-archetype-jsp (Archetype for creating maven-gae projects that uses jsp for the view)

archetype.

Then, generate your Eclipse project:

mvn eclipse:eclipse

Create an application on AppEngine. Then, adjust the pom.xml, appengine-web.xml and perhaps the web.xml.
Now, you should be able to copy the app-engine sdk dependencies to your local maven repo:

mvn gae:unpack

and then start the app in your local server:

mvn gae:run

OK!?

No comments:

Post a Comment