简体   繁体   中英

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

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:

服务器视图

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

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM