development-mode

GWT is slow in Development Mode

∥☆過路亽.° 提交于 2020-01-22 17:17:27
问题 I'm using Eclipse Galileo with latest GWT 2.0 version in development mode, but it runs really slow (I need to wait about a minute to open one page, but after compilation, my application works very well when I run it using Tomcat 5.5). My code is not too heavy and I guess there is an OS-related or software inconsistency problem, because I'd this problem before, but when I reinstalled Windows Vista SP2 (I formatted my Windows drive and reinstalled it), my problem was resolved for a few days and

GWT is slow in Development Mode

爱⌒轻易说出口 提交于 2020-01-22 17:17:06
问题 I'm using Eclipse Galileo with latest GWT 2.0 version in development mode, but it runs really slow (I need to wait about a minute to open one page, but after compilation, my application works very well when I run it using Tomcat 5.5). My code is not too heavy and I guess there is an OS-related or software inconsistency problem, because I'd this problem before, but when I reinstalled Windows Vista SP2 (I formatted my Windows drive and reinstalled it), my problem was resolved for a few days and

Stop Rails from unloading a module in development mode

限于喜欢 提交于 2020-01-22 12:46:53
问题 I have a module in my Rails app that lives in /lib module MyModule mattr_accessor :the_variable class << self def setup yield this end end end From my environments/#{RAILS_ENV}.rb file I can then set an environment-specific value for the_variable : MyModule.setup do |my_module_config| my_module_config.the_variable = 42 end This is lovely, and it seems to work (almost) fine. The problem is that in development mode, Rails via ActiveSupport::Dependencies unloads a load of modules, and reloads

Developing a Java Application that uses an AppEngine database

混江龙づ霸主 提交于 2019-12-20 06:24:11
问题 This might be a very trivial question, but I'm having trouble finding an answer: Using the Google Plugin for Eclipse, I would like to develop a plain old Java application (not a web-app), that uses AppEngine for cloud storage. For this, I could, of course, simply create two projects, one containing the AppEngine server and one containing the Java application. But I'm wondering whether it is possible to set up a single project in Eclipse that contains both the server and the client code (like

Developing a Java Application that uses an AppEngine database

房东的猫 提交于 2019-12-20 06:23:50
问题 This might be a very trivial question, but I'm having trouble finding an answer: Using the Google Plugin for Eclipse, I would like to develop a plain old Java application (not a web-app), that uses AppEngine for cloud storage. For this, I could, of course, simply create two projects, one containing the AppEngine server and one containing the Java application. But I'm wondering whether it is possible to set up a single project in Eclipse that contains both the server and the client code (like

GWT is slow in Development Mode

回眸只為那壹抹淺笑 提交于 2019-12-03 22:10:32
I'm using Eclipse Galileo with latest GWT 2.0 version in development mode, but it runs really slow (I need to wait about a minute to open one page, but after compilation, my application works very well when I run it using Tomcat 5.5). My code is not too heavy and I guess there is an OS-related or software inconsistency problem, because I'd this problem before, but when I reinstalled Windows Vista SP2 (I formatted my Windows drive and reinstalled it), my problem was resolved for a few days and then again it became too slow. I didn't install any special software on my Windows machine, so I

Stop Rails from unloading a module in development mode

妖精的绣舞 提交于 2019-12-03 08:38:49
I have a module in my Rails app that lives in /lib module MyModule mattr_accessor :the_variable class << self def setup yield this end end end From my environments/#{RAILS_ENV}.rb file I can then set an environment-specific value for the_variable : MyModule.setup do |my_module_config| my_module_config.the_variable = 42 end This is lovely, and it seems to work (almost) fine. The problem is that in development mode, Rails via ActiveSupport::Dependencies unloads a load of modules, and reloads them in time for the new request. This is usually a great behaviour because it means you don't need to

Developing a Java Application that uses an AppEngine database

我的未来我决定 提交于 2019-12-02 07:57:00
This might be a very trivial question, but I'm having trouble finding an answer: Using the Google Plugin for Eclipse, I would like to develop a plain old Java application (not a web-app), that uses AppEngine for cloud storage. For this, I could, of course, simply create two projects, one containing the AppEngine server and one containing the Java application. But I'm wondering whether it is possible to set up a single project in Eclipse that contains both the server and the client code (like for a GWT project). To execute it for local debugging, I would then want Eclipse to launch Tomcat to