环境:eclipse3.6(Helios) + GWT2.1.0 + GXT2.2.0

下载eclipse

explorer

通过插件形式更新GWT2.1.0,下载GXT2.2.0

  • Help –> Install New Software
gxt-2.2.0 sample 搭建过程

gxt-2.2.0 sample 搭建过程 

gxt-2.2.0 sample 搭建过程

  • 从ext官网下载最新的gxt,我所使用的版本是gxt2.2.0

新建GXTSample示例工程

  • 点击工具栏中 Create a java project with GWT support

gxt-2.2.0 sample 搭建过程

  • Project Name: GXTSamples –> Next
  • 选择Greate GWT Model , ToolKit选择EXT GWT(GXT) –> Next

gxt-2.2.0 sample 搭建过程

  • Libraries中添加 GWT SDK和gxt.jar –> Finsih

gxt-2.2.0 sample 搭建过程

  • 找到工程所在目录,删除原有src目录。
  • 打开解压后的gxt-2.2.0目录,将gxt-2.2.0\samples下的:examples、explorer、mail、resources四个目录下的src 拷贝到一起,并放在GXTSamples\src下
  • 刷新后的src目录结构:

gxt-2.2.0 sample 搭建过程

  • 将gxt-2.2.0\samples下的:examples.war解压缩并重命名为war,之后将war目录copy到GXTSamples下,覆盖合并
  • 刷新GXTSamples目录

 

gxt-2.2.0 sample 搭建过程

  • 选择explorer.html,Run As –> WebApplication

gxt-2.2.0 sample 搭建过程

  • 在浏览器中打开页面地址,samples部署完成!

gxt-2.2.0 sample 搭建过程

相关文章:

  • 2021-12-20
  • 2021-10-30
  • 2021-08-08
  • 2021-10-20
  • 2021-10-24
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-01-07
  • 2022-12-23
  • 2021-04-26
  • 2021-06-06
  • 2021-10-11
相关资源
相似解决方案