Mac上的GWT_HOME [英] GWT_HOME on Mac

查看:163
本文介绍了Mac上的GWT_HOME的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



然而,当我尝试运行一个项目(而不是一个新的WebApplication,它的工作原理)时,我已经安装了GWT说BUILD FAILED ...... / $ {env.GWT_HOME}不存在。



如何在Eclipse上设置GWT_HOME,如何知道GWT_HOME是否全部由Eclipse自动安装?



谢谢。

解决方案

p>你有2个选项。



选项1 - 便于维护



1)直接从GWT here
2)在eclipse中goto Windows - >偏好 - > Google - > Web工具包 - >添加(在弹出窗口中配置GWT版本,位置和名称)



3)您可以设置多个GWT版本,并将其中一个设置为默认。





选项2



1)在您的eclipe中grep /搜索gwt-user * .jar文件夹(dropins,plugins,features,p2 !!!!)



2)配置类路径变量GWT_HOME。转到Windows - >首选项 - > Java - >构建路径 - >类路径变量 - >新建




I installed GWT through the Zip provided in their website for Eclipse Indigo.

However when I try to run a project (not a new WebApplication, that works) it says BUILD FAILED ....../${env.GWT_HOME} does not exist.

How do I set GWT_HOME on Eclipse and how do I know the location of GWT_HOME if it was all installed by Eclipse automatically?

Thanks.

解决方案

You have 2 options.

Option 1 - For easy maintenance

1) Download the GWT directly from here 2) In eclipse goto Windows -> Preference -> Google -> Web Toolkit -> Add ( Configure GWT version, location and name in popup)

3) You can set up multiple GWT versions and set one of them as default.

Option 2

1) grep/search for gwt-user*.jar in your eclipe folder ( dropins,plugins,features,p2 !!!! )

2) Configure classpath variable GWT_HOME. Goto "Windows -> Preference -> Java -> Build Path -> Classpath Variable -> New"

这篇关于Mac上的GWT_HOME的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆