Andrew-NZ
Andrew-NZ

Reputation: 491

Eclipse Neon running GAE is incredibly slow to refresh

I have just deployed Eclipse Neon in a Windows 7 environment (coming from many years of using Netbeans) and the Google (java) App Engine environment (as Google instructs and all works).

Using the standard gae 'hello world' example, when I make a change to the text on the sample 'Hello App Engine Standard' .jsp, for example changing that text to 'Hello hello', I have two issues:

  1. In Eclipse I have to save and then hit F5 to refresh. Is there any way that Eclipse can auto-refresh on save like Netbeans does?

  2. After saving and hitting F5 I then need to reload my browser 4-5 times before the trivial change shows up. Netbeans does it instantly. Does anyone have any idea where I start looking as Eclipse is totally new to me or is this just the way Eclipse works?

Thanks

Upvotes: 0

Views: 217

Answers (2)

András Kerekes
András Kerekes

Reputation: 1001

If you are using the Cloud Tools for Eclipse plugin, you can set the publishing delay on the server as follows:

Double click on the local devappserver in the Servers view:

Servers view

In the editor that opens up set the publishing interval to 0 seconds:

enter image description here

Upvotes: 5

turtle
turtle

Reputation: 34

I had previously done some work in java GAE. Eclipse was pretty terrible frankly ended up switching to intellij. Shortly after I ended up switching to python for it. I use pycharm from the same company, you need the pro edition sadly, also here is a great lib for it supposedly it runs fairly similarly in terms of speed in GAE compared to java. Also endpoints will generate client code for you with little work.

Upvotes: -1

Related Questions