Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run maven project on google app engine

I follow this tutorial: http://software.danielwatrous.com/wordpress-plugin-licensing-wicket-on-google-app-engine/. I add google app engine library to this project and then I want to check google app engine on. But when I do this eclipse has this problem:

The App Engine SDK '/home/hudi/program/git/tournamenSystem/tournament-system/
tournament-system-web/src/main/webapp/WEB-INF/lib/appengine-api-1.0-sdk-1.7.1.jar'
on the project's build path is not valid (SDK location '/home/hudi/program/git/
tournamenSystem/tournament-system/tournament-system-web/src/main/webapp/WEB-INF/
lib/appengine-api-1.0-sdk-1.7.1.jar' is not a directory)

I dont understand it. Jar isnt directory so why it want to some directory ? When I want use quick fix then I can just use another SDK. I try to use older version 1.6... but still same problem. How I can fix it ? Please help

like image 369
hudi Avatar asked Aug 24 '12 10:08

hudi


2 Answers

Possible solution is that, you should add appengine through app engine settings in eclipse and make sure that the sdk added by appengine setting appear before the one mentioned (i.e. /home/hudi/program/git/tournamenSystem/tournament-system/tournament-system-web/src/main/webapp/WEB-INF/lib/appengine-api-1.0-sdk-1.7.1.jar) in your build path. In this way your application would refer the appengine sdk from google plugin and not for the path which is giving error.

I had same issue where I was getting error for the sdk jar included from maven dependency.Hope it will help.

Goole App Engine Setting

Build path order

like image 178
Arpit Avatar answered Oct 20 '22 04:10

Arpit


You may want to take a look at the Maven GAE Plugin This plugin has goals to run, debug, deploy, etc. your GAE application.

like image 40
martin Avatar answered Oct 20 '22 03:10

martin