且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GWT编译器选项,可使用gwt maven插件查看自定义生成器生成的文件

更新时间:2022-02-21 00:46:25

到为此,我假设您正在使用带有GWT插件的Eclipse。右键单击Gwt项目Run As-> Run Configuration,

To do this, I am assuming you are using Eclipse with GWT plugin. right click on Gwt project Run As->Run Configuration,


  1. 选择左侧的 Java应用程序。右键单击它,

    并选择新建。这将创建一个名为
    新配置的新运行配置。

  2. 在新配置中,您应该位于主选项卡中。确保
    确保在项目文本框中选择了正确的GWT项目。
    如果没有,您可以通过单击旁边的浏览
    按钮来选择合适的GWT项目。

  1. Select the "Java Application" on the left side. Right click on it,
    and select "New". This will create a new run configuration named "New Configuration"
  2. In the "New Configuration" ,you should be in the "Main" tab. Make sure that in the "Project" text box correct GWT project is selected. If not, you can select the right GWT project by clicking the "Browse" button next to it.

也可以在在主标签上,点击主
类文本框旁边的搜索按钮。在弹出窗口中编写编译器,然后选择
com.google.gwt.dev.Compiler

Also in the main tab, click on the "Search" button next to "Main Class" text box. Write "Compiler" in the popup window and select "com.google.gwt.dev.Compiler".