jinfeng_wang

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

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            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窗口中打開項(xiàng)目,(或者在 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') 
            • 在所打開的項(xiàng)目中,右鍵項(xiàng)目名,選擇“Add Spring Beans Project Nature”,這時(shí)該項(xiàng)目就會在右上角掛上了“S”. :)
          2. Add references to other Spring projects
            • open project's properties dialog in Eclipse resource navigator or JDT package explorer 
            •  右鍵項(xiàng)目名,查看其properties,這就打開了"project properties"窗口
            • select the properties page "Project References" from the list 
            •  這時(shí)就可以選擇 "Project References"
            • select Spring project(s) containing Spring Beans config files which are referenced from within in this project's Spring Beans config sets 
            • 選擇 所依賴引用的項(xiàng)目
          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
            • 同樣,再次打開項(xiàng)目的屬性對話框,或者也可以打開“Spring Beans View”(這個(gè)窗口可以在window->slow view里面打開)
            • select the properties page "Spring Beans Project" from the list
            • 在項(xiàng)目的屬性窗口中選擇"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配置文件,這時(shí)就可以看到錯(cuò)誤了 (俺沒有能夠在task窗口中看到,但在Bean.xml文件的編輯窗口看到了,嘻嘻~~~)
            • 另外,可以觀察一下"Spring beans"那個(gè)窗口,在其上面有三個(gè)按鈕,第三個(gè)是"show in property sheet", 這個(gè)功能不錯(cuò)哦,可以試一下。當(dāng)然了,直接看xml文件也是挺好的。

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

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

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

           

          posted on 2005-02-20 16:25 jinfeng_wang 閱讀(10009) 評論(0)  編輯  收藏 所屬分類: spring
          主站蜘蛛池模板: 阿拉善盟| 洞口县| 应用必备| 孟津县| 平潭县| 达州市| 西藏| 土默特右旗| 房产| 清水县| 玛纳斯县| 上高县| 信丰县| 固始县| 商洛市| 罗甸县| 黄石市| 麻江县| 台北县| 泾川县| 福清市| 汤原县| 德阳市| 漯河市| 张北县| 白银市| 郧西县| 迭部县| 友谊县| 万源市| 西乌| 淳安县| 泰安市| 乐都县| 呼和浩特市| 龙口市| 沾化县| 辽中县| 盱眙县| 舒兰市| 饶河县|