`
JonsenElizee
  • 浏览: 45045 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

How To install rap 1.3.0-M2-20090929-1142

阅读更多

由于rap 1.3 tooling包中的文件格式有所改变,用安装rap1.2方式来安装rap1.3我没有try成功,网了半天也看到指导性的东西,可能我对eclipse生疏了吧,自己调试了半天才调试出来。所以记录下来。

My system is RHEL 5.0.

Step 1.

download eclipse sdk 3.5

download rap runtime 1.3

download rap tooling1.3

Step 2.

注意解压文件后不要启动eclipse,这样使得eclipse是个全新的,

要不然你可能需要删除workspace这个目录(eclipse默认工作目录)。

extract eclipse sdk, rap runtime and tooling as following:

/opt/ins/rap
________________________________________________________________________________
total 24K
drwxrwxr-x 9 1054 1109 4.0K Sep 17 14:31 eclipse
drwxr-xr-x 4 root root 4.0K Oct 31 23:21 rap-runtime-1.3.0-M2-20090929-1121
drwxr-xr-x 4 root root 4.0K Oct 31 23:22 rap-tooling-1.3.0-M2-20090929-1142
[root@localhost rap]#

Step 3.

把tooling包移到dropins目录下去就OK啦。

# mv rap-tooling-1.3.0-M2-20090929-1142/ eclipse/dropins/

然后再启动eclipse。

run the eclipse. on Windows system, you just need to run the eclipse from Desktop.

# ./eclipse/eclipse

从About菜单可以查到这些安装信息。

From the Eclipse SDK Installation Details information, we could get the following message.

Step 4. 如果在你把tooling包拷贝到dropins目录下后重新启动eclipse时,没有看到rap的欢迎界面,不能点击界面安装rap target的话,可以利用runtime手动地安装target。

事实上,把tooling包拷贝到dropins目录后,你要把以前eclipse默认的workspace删除或者mv workspace workspace.bak,然后启动eclipse,指定新的workspace,这样一般能出现rap欢迎界面,点击界面上的第一个链接,点击安装rap target就能自动安装好。

没出现rap欢迎界面就手动安装一下。

add a new target for rap.

do everything as me do.

click Add... button

choose directory option

click Brower... button

select the rap runtime folder.

Attention pls: the folder construction is should like the following one:

/opt/ins/rap/rap-runtime-1.3.0-M2-20090929-1121
________________________________________________________________________________
total 24K
drwxr-xr-x 2 root root 4.0K Oct 31 23:21 features
drwxr-xr-x 2 root root 12K Oct 31 23:21 plugins
[root@localhost rap-runtime-1.3.0-M2-20090929-1121]#

clickFinish button

choose the New Target and you will see the (Active) label as what I show. and click Apply button to apply the setting.

now, let'snew a plugin to test ourinstallation forrap.

fill a name you want. my eclipse sdk is of version 3.5. so, here, I should choose eclipse version 3.5.

choose No for "Rich Client Application".

choose a rap demo you want.

here is the new project.

configure the runtime pls. or, you will get a error msg when you start up the rap demo you created.

add the eclipse help plugin.

Run...

do you get it!

any problem? it is my pleasure to communicate with you: JonsenElizee@163.com

I love rap. it is a wonderful tec. for internet app.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics