GWT设计器不能使用Eclipse 4.2服务版本2? [英] GWT Designer not working with Eclipse 4.2 service release 2?

查看:170
本文介绍了GWT设计器不能使用Eclipse 4.2服务版本2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试本教程后,安装了Eclipse Juno 4.2服务版本2(Java EE发行版),并严格遵循GWT安装说明在这里。然而,我既没有在Preferences中获得WindowBuilder条目,也没有出现在新项目对话框中的WindowBuilder条目。我在做什么错了?



我在amd64上运行Ubuntu 12.04.02 LTS,并且我尝试了oracle jdk 7u17和Ubuntu自己的jdk6发行版,但无济于事...

刚刚在Win2k3中尝试过。完全相同的结果。 Google开始惹恼我。 GWT 2.5.1在尝试我最简单的项目之一时抛出一个错误...

更新:它在某种程度上工作。含义:WindowBuilder不识别GWT Designer的安装,并提供安装GWT Designer for Eclipse 3.7 。因此,设计师工具栏的GWT选择可能性不存在。



更新: bug提交



更新:bug被关闭,因为无法修复。他们不在乎。

他们很在乎。 GWT是一个不断演变的神奇发展环境。
他们必须与新版本的浏览器,Javascript和Eclipse版本竞争,所以有时可能不会总是记录最新的小事情。您试图运行的教程是为GWT Designer 2.3,GPE 2.3,Eclipse 3.7& Java 1.6。



这个教程对于Juno 4.2 SR2也有很好的改进:



第1步,只需创建一个Web应用程序项目。您可以生成项目示例代码,确保工作正常,然后清理并坚持文件夹布局。

在步骤3中,只需添加一个类并使其扩展为com.google.gwt.user.client.ui.Composite。添加一个空的构造函数,然后,您可以像往常一样打开GWT设计器,以完成剩下的工作。 CSS styleName属性已得到改进。有工具提示可以指导您。 PS:我的测试是在Ubuntu12.04-32bit,WinXP-32bit和Win7-64bit下使用JDK1.7.0_17-32bit和Eclipse-32bit制作的。

I'm trying to do this tutorial after having installed Eclipse Juno 4.2 service release 2 (Java EE distribution) und following exactly the GWT installation instructions over here.

However, I neither get the WindowBuilder entry under Preferences, nor is there a WindowBuilder entry in the new projects dialog appearing. What am I doing wrong?

I'm running Ubuntu 12.04.02 LTS on amd64, and I have tried oracle jdk 7u17 and Ubuntu's own jdk6 distribution, but to no avail...

Just tried the same in Win2k3. Exact same result. Google is starting to annoy me. GWT 2.5.1 throws an error when trying one of my simplest projects...

Update: it is working to some extent. Meaning: WindowBuilder does not recognize GWT Designer's installation and offers to install GWT Designer for Eclipse 3.7. The designer toolbar's GWT selection possibilities therefore are not there.

Update: bug filed.

Update: bug was closed as won't fix. They don't care.

解决方案

They do care. GWT is a magical development environment, under constant evolution. They have to race with new versions of browsers, Javascript and releases of Eclipse, so sometimes tiny things may not be always documented up to date. The tutorial you are trying to run is made for GWT Designer 2.3, GPE 2.3, Eclipse 3.7 & Java 1.6.

This tutorial works also perfectly well for Juno 4.2 SR2 with a few minor changes:

In step 1, just Create a Web Application Project. You can generate project sample code, make sure that things work and then clean it up and stick with the folder layout.

In step 3, just add a class and make it extend com.google.gwt.user.client.ui.Composite. Add an empty Constructor and then you can open the GWT Designer as always, in order to do the rest. The CSS styleName property has been improved. There are tool-tips to guide you.

PS: My tests were made in Ubuntu12.04-32bit, WinXP-32bit and Win7-64bit with JDK1.7.0_17-32bit and Eclipse-32bit.

这篇关于GWT设计器不能使用Eclipse 4.2服务版本2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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