简体   繁体   English

从Eclipse GWT项目中删除开发模式

[英]Remove development mode from eclipse gwt project

I have to deploy a gwt project in a remote server. 我必须在远程服务器上部署gwt项目。 I have developed it in Eclipse in my local machine and debugged it in dev mode and it is working fine. 我已经在本地计算机上的Eclipse中开发了它,并在开发模式下对其进行了调试,并且运行良好。

But in order to deploy it in external server it should not be in dev mode. 但是为了将其部署到外部服务器中,不应将其置于开发模式。 I have to copy only the compiled version. 我只需要复制编译版本。 So I did a clean and built the project and transferred my war file to the external server. 因此,我进行了清理并构建了项目,并将战争文件传输到了外部服务器。 But the server shows the error could not run in super dev mode. 但是服务器显示错误无法在超级开发模式下运行。

I deleted the project and built in newly and transferred the war file and without running it. 我删除了该项目并新建了它,并转移了war文件,但没有运行它。 Still the same error occurs. 仍然发生相同的错误。 Is there a way to check if dev mode is removed from the contents of the war file? 有没有办法检查是否从war文件的内容中删除了dev模式?

open the project Properties ->Google ->Web Toolkit the uncheck use GWT option and this will disable the development mode. 打开项目“属性”->“ Google”->“ Web Toolkit”,取消选中“使用GWT”选项,这将禁用开发模式。 =) =)

You don't need to delete project :) Simply stop the development mode - click on Development Mode tab and then "Terminate selected launch" (red square button). 您不需要删除项目:)只需停止开发模式-单击“开发模式”选项卡,然后单击“终止选定的启动”(红色方形按钮)。 After that you can re-compile and deploy your project. 之后,您可以重新编译并部署您的项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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