Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reference another project in Eclipse with Google appengine project?

I am trying to extract some common classes out to be a common jar, and I want to reference it by the appengine project in Eclipse.

It compiles well but could not run. The console just told that some classes from the common jar project could not be found.

I know I can just export the project into a jar, but I may want to change it sometimes, so I prefer keep it dynamic.

And I know maven may be an option but there is no official maven support for appengine, and I will not try to learn it.

Then how can I make it work?

like image 400
virsir Avatar asked May 31 '10 02:05

virsir


People also ask

How do I use Google App Engine in eclipse?

Create New Web Application Project In Eclipse toolbar, click on the Google icon, and select “New Web Application Project…” Figure – Deselect the “Google Web ToolKit“, and link your GAE Java SDK via the “configure SDK” link. Click finished, Google Plugin for Eclipse will generate a sample project automatically.

How do I deploy project in Eclipse?

Right click the project in the Package Explorer to open the context menu. Select Deploy to App Engine Standard. A dialog pops up. Select the account you want to deploy with, or add a new account.


2 Answers

Use a linked source folder, see this thread for more details.

like image 138
EA. Avatar answered Nov 04 '22 17:11

EA.


Use the maven-gae-plugin. It works well and you mentioned you know Maven already.

like image 1
Taylor Leese Avatar answered Nov 04 '22 18:11

Taylor Leese