【问题标题】:Eclipse approach vs. Netbeans for GWT compilerEclipse 方法与用于 GWT 编译器的 Netbeans
【发布时间】:2012-06-08 22:40:14
【问题描述】:
在 Eclipse 中,我们有单独的按钮用于编译 GWT 项目。所以我们可以在没有 GWT 编译的情况下构建我们的项目(动态 WEB)。
但是在 NetBeans 中我们没有这种方法!如果我们首先构建 web 项目,GWT 将被编译。那么,我们如何像 eclipse 一样改变这种方法(我想在 netbeabs 中单独编译 GWT)
RGDS
【问题讨论】:
标签:
eclipse
gwt
jakarta-ee
netbeans
compiler-construction
【解决方案1】:
在 Netbeans 中,您可以先使用 .nbm 文件。然后你必须更改 gwt.properties 文件:
gwt.install.dir=C:/gwt-windows-2.4.0
在 Windows 中,并且
gwt.install.dir=/home/wanto/GWT1.7.1/gwt-linux-2.4.0
在 Linux 中。
在此之前,您必须从 Google 下载 GWT(关于适用于 Windows 的 GWT 或适用于 Linux 的 GWT)。