用户操作
[即时聊天] [发私信] [加为好友]
九天ID:qiuyufeng
1212次访问,排名2万外,好友0人,关注者0人。
qiuyufeng的文章
原创 27 篇
翻译 0 篇
转载 12 篇
评论 0 篇
最近评论
文章分类
收藏
    相册
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 my First groovy收藏

    新一篇: php 入门简单配置 | 旧一篇: 下拉菜单按钮

    1 下载 groovy  in Eclipse

     (1)  可以采用 Eclipse 中的自动更新。    

    Update Site The update site containing the most recent release is here: http://dist.codehaus.org/groovy/distributions/update/

    Go to: Help -> Software Updates -> Find and Install -> Search For New Features

    Click on New Remote Site

    Enter a name (eg: Groovy) in the Name field

    Copy the URL from above into the URL field and press OK

    Check the new Groovy repository and press finish 

    Under Select the Features to Install check the Groovy check box (be sure to get the latest version) and press Next Accept the agreement and press Next

    If the default location looks okay press Finish (this will download the plugin)

      If you get a warning that the plugin is unsigned click Install or Install All

    (2) 或者直接 打开 http://dist.codehaus.org/groovy/distributions/update/

     下载 目录 features 和 plugins  的文件,并它们分别复制到 eclipse 安装目录下的 features 和 plugins ,然后重启eclipse 便可

    2 新建一个 java 项目

     选中该 java 项目,右键  菜单 ——》 groovy  ——》 add  groovy nature 。

    设置 groovy  的编译输出目录

    选中新建的项目,右键 构造路径——》配置构造路径  

    • In the Package Explorer, right click on the "GroovyJava" project, and select: Build Path -> Configure Build Path
    • Select the Source tab and then use the Browse button to change the Default Output Folder from bin to bin-groovy
    • Press OK, OK

    3 编写 groovy 文件

     选中项目 右键 , new   ——》 other

    选择 groovy ——》 groovy class 便可

     

    发表于 @ 2008年05月21日 13:14:00|评论(loading...)|编辑

    新一篇: php 入门简单配置 | 旧一篇: 下拉菜单按钮

    评论:没有评论。

    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © 九天