jinfeng_wang

          G-G-S,D-D-U!

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks

          下載了spring ide, 其具體的使用方法。

          Usage

          Fresh Installation

          1. Add Spring Beans project nature
            • select open project nodes in Eclipse resource navigator, or JDT package explorer
            •  在Eclipse的resource navigator窗口中打開項目,(或者在 JDT package explorer窗口)
            • activate context menu item "Add Spring Beans Project Nature" on selected projects -> these projects are now decorated with a small 'S' in the upper right corner (overwriting other decorators, e.g. Java project decorator 'J') 
            • 在所打開的項目中,右鍵項目名,選擇“Add Spring Beans Project Nature”,這時該項目就會在右上角掛上了“S”. :)
          2. Add references to other Spring projects
            • open project's properties dialog in Eclipse resource navigator or JDT package explorer 
            •  右鍵項目名,查看其properties,這就打開了"project properties"窗口
            • select the properties page "Project References" from the list 
            •  這時就可以選擇 "Project References"
            • select Spring project(s) containing Spring Beans config files which are referenced from within in this project's Spring Beans config sets 
            • 選擇 所依賴引用的項目
          3. Add Spring Beans factory config files
            • open project's properties dialog in Eclipse resource navigator or JDT package explorer or via double-clicking a project in the Spring Beans view
            • 同樣,再次打開項目的屬性對話框,或者也可以打開“Spring Beans View”(這個窗口可以在window->slow view里面打開)
            • select the properties page "Spring Beans Project" from the list
            • 在項目的屬性窗口中選擇"Spring Beans Project"
            • use button "Add..." to open a selector dialog and select all Spring Beans config files -> added Spring Beans config files are decorated with a small 'S' in the upper right corner
            • 通過“Add”按鈕選擇Spring配置文件。
            • (optionally) combine config files into config sets with the second tab of the property page (use "New..." to create a new config set and select the config files; use "Move Up" and "Move Down" to change the order of the config files)
          4. Open Spring Beans view
            • select from within any of the added Spring Beans config files opened in an Eclipse editor the menu item "Navigate/Show In/Spring Beans" -> Spring Beans view is opened and the corresponding Spring Beans config file is selected in the view's model
            •  Double clicking on an entry in the view navigates to the corresponding location in the config file
          5. Validate Spring Beans config file
            • save any of the added Spring Beans config files from within an open Eclipse editor -> all errors occured during validation create a problem marker in Eclipse's task view
            • 保存Spring配置文件,這時就可以看到錯誤了 (俺沒有能夠在task窗口中看到,但在Bean.xml文件的編輯窗口看到了,嘻嘻~~~)
            • 另外,可以觀察一下"Spring beans"那個窗口,在其上面有三個按鈕,第三個是"show in property sheet", 這個功能不錯哦,可以試一下。當然了,直接看xml文件也是挺好的。

          6、非常好的一個功能,在Spring Beans那個窗口中添加好你的Spring配置文件之后,在其中右鍵你的配置文件,選擇“show graph”,it's such a wonderful function~~~~

          在線安裝地址:  http://springframework.sourceforge.net/spring-ide/eclipse/updatesite/

          注意哦,在安裝的時候,一定要選“Spring framework”,然后才可以裝“Spring IDE”(就是Beans Configuration Support啦。)

           

          posted on 2005-02-20 16:25 jinfeng_wang 閱讀(10009) 評論(0)  編輯  收藏 所屬分類: spring
          主站蜘蛛池模板: 图木舒克市| 乌鲁木齐县| 伊吾县| 马边| 克山县| 三门县| 玉田县| 新宁县| 岚皋县| 兰溪市| 三原县| 周至县| 玉屏| 措勤县| 梁河县| 竹溪县| 马尔康县| 阳山县| 唐河县| 安达市| 伊吾县| 普格县| 福清市| 化德县| 高雄市| 陆良县| 如东县| 江油市| 闻喜县| 宜州市| 吉安县| 八宿县| 昌江| 确山县| 封开县| 综艺| 隆尧县| 抚松县| 通榆县| 张家口市| 大庆市|