544
社区成员
发帖
与我相关
我的任务
分享
原文地址:http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
开始使用GWT,Maven和Eclipse的
在这篇文章中,我们将看看我们如何使用GWT和Maven使用Eclipse的集成开发环境(IDE)时工作。
在这篇文章中,我们将:
安装GWT - Maven的插件
生成使用GWT - Maven的插件原型骨架项目
启用谷歌插件为Eclipse
测试应用程序在开发模式
先决条件
您将需要一个 Java的SDK (1.6版或更高版本),在 Eclipse IDE的Java EE的开发人员 (赫利俄斯版本3.6.2或更高版本)和 Maven的 (2.2.1版本)。
我开始用全新安装的Eclipse和遵循这些 建议, 更新“的eclipse.ini”时:
开始使用GWT,Maven和Eclipse的
在这篇文章中,我们将看看我们如何使用GWT和Maven使用Eclipse的集成开发环境(IDE)时工作。
在这篇文章中,我们将:
安装GWT - Maven的插件
生成使用GWT - Maven的插件原型骨架项目
启用谷歌插件为Eclipse
测试应用程序在开发模式
先决条件
您将需要一个 Java的SDK (1.6版或更高版本),在 Eclipse IDE的Java EE的开发人员 (赫利俄斯版本3.6.2或更高版本)和 Maven的 (2.2.1版本)。
我开始用全新安装的Eclipse和遵循这些 建议, 更新“的eclipse.ini”时:
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
-showlocation
-showsplash
--launcher.defaultAction
openFile
-vm
C:/tools/java/jdk-1.6.0_26/bin
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Declipse.p2.unsignedPolicy=allow
-Xms128m
-Xmx512m
-Xss4m
-XX:PermSize=128m
-XX:MaxPermSize=512m
-XX:CompileThreshold=5
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
Note: gwt-maven is deprecated/discontinued. For more information please refer to the gwt-maven wiki.
1. Install the gwt-maven-plugin
Before we can install the gwt-maven-plugin we must first install the Eclipse Web Tools Platform (WTP). In Eclipse choose "Help -> Install New Software..." and paste the update site URL http://download.eclipse.org/webtools/repository/helios/ into the field named "Work with:" then press the Enter key.
Pressing Enter should cause Eclipse to update the list of available plugins: