Does Google App Engine Java support Hot Deployment in Eclipse?
Asked Answered
Z

4

7

It doesn't seem to do this by default, which is pretty shocking to me given all the other stuff they've set up to make development easy. Is there a way to enable this? If not, anybody know why it isn't supported?

Zamir answered 7/8, 2009 at 3:19 Comment(0)
P
3

This is an open feature request on the App Engine Issue Tracker. You should vote on it there.

FWIW, it does work with JSP as expected (they get invalidated and recompiled when you update them).

Ptyalism answered 7/8, 2009 at 10:30 Comment(0)
A
9

There is JRebel that can help you with this http://englove.blogspot.com/2010/09/appengine-hot-deploy-on-mac.html

But using JRebel i had troubles with GWT in Development Mode.

BUt, there is a simplier way to do it. You can have hot deploy of your server clases if you debug your application in Eclipse.

Debug As -> Web Application

That's all! :)

Anodize answered 30/9, 2010 at 16:8 Comment(1)
I can confirm that debugging the app is working for me. Thanks a bunch, nacho3d!Thorsten
P
3

This is an open feature request on the App Engine Issue Tracker. You should vote on it there.

FWIW, it does work with JSP as expected (they get invalidated and recompiled when you update them).

Ptyalism answered 7/8, 2009 at 10:30 Comment(0)
J
0

I realized that local server reloads when I modify and save the appengine-web.xml file, so i created a build.xml file with this instructions and runs from eclipse+ant, so I have a hot deploy

<?xml version="1.0"?>

<project default="main" basedir=".">
<property name="appengine" location="${basedir}/war/WEB-INF/appengine-web.xml" />


<target name="main">
    <echo message="REINICIANDO SERVIDOR LOCAL ${appengine}" />
    <touch file="${appengine}" />
</target>

</project>
Jun answered 19/1, 2012 at 1:15 Comment(0)
C
0

I work with App Engine 1.9.2, and it is already working not only for JSPs, but Servlets and Java code as well.

If your project is Maven-based, and you start your server with mvn appengine:devserver, after modifying some code, all you need to do is

mvn package

and refresh the page in your browser.

Copulative answered 2/10, 2014 at 12:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.