2009年12月9日 星期三

在MyEclipse 6.6GA中新增Spket 1.6.x plugin之設定方法


若您需開發Ext之程式,Spket是一個不錯的插件。 它是採用ext.jsb project file 文件並將繼承基類和所有文檔的内容嵌入到生成代碼提示的Script doc中。

一、Spket插件下載與安裝,其方法如下圖所示:
1.開啟MyEclipse6.6GA後,選擇Help-->Software Updates-->Find and Install...選單
2.選擇Search for new features to install
3.按下New Remote Site...按鈕
4.輸入Name:Spket1.6.18
5.輸入URL:http://www.spket.com/update/





































二、Spket插件設定,其方法如下圖所示:
1.選擇Window-->Preference...選單
2.選擇Spket-->JavaScript Profiles-->New button
3.輸入Name:Ext2.3.0
4.選擇Ext2.3.0-->按下Add Library button
5.Library選擇ExtJS
6.選擇Ext2.3.0-->ExtJS-->Add File
7.選擇ext.jsb之檔案位置(一般都是位於Ext\source\ext.jsb)
8.將Ext所有元件皆勾選
9.選擇Ext2.3.0-->Default
10.選擇Window-->Preference...-->General-->Editors-->File Associations-->*.js-->Spket JavaScript Editor-->按下Default button


































看到此畫面,恭喜您設定完成!

MyEclipse6.6GA使用版本控制(Subversion)匯入Project之方法(方法二)


一般程式開發大部份都是修改現有的系統,若一個新進人員要如何設定其系統開發環境,其最簡單的方法就是透過MyEclipse之Subversion plugin,直接從版本控制中(Subversion)直接匯入Project,如此最省時省力。若您不會設定Subversion plugin,可以參考此篇文章(在MyEclipse 6.6GA中新增Subversion 1.6.x plugin之設定方法

說明:
此文件假設SVN server已存在,並且已有建立相關Project之Repository

一、新增SVN Repository:
1.選擇Window-->Open Perspective-->Other...選單
2.選擇SVN Repository Exploring
3.add SVN Repository
4.輸入Url:https://Nelson-PC/svn/CMSM
5.切換到MyEclipse Java Enterprise perspective



















二、Checkout Project:
1.選擇https://nelson-pc/svn/CMS後按滑鼠右鍵-->Checkout...
2.按下Next button
3.按下Finish button
4.按下Yes buton
5.切換到MyEclipse Java Enterprise perspective



















看到此畫面則恭喜您Import成功,可以開始開發程式了!

在MyEclipse 6.6GA中新增Subversion 1.6.x plugin之設定方法


一般在程式開發中,版本控制是不可或缺的,今天讓我們來看看如何在MyEclipse 6.6GA中新增Subversion 1.6.x plugin之版本控制之設定方法。

一、開啟MyEclipse6.6GA後,新增Remote Site及Install,方法如下圖所示:
1.選擇Help-->Software updates-->Find and Install...選單
2.選擇Search for new features to install radio button-->按下Next button
3.按下New Remote Site... button
3.1.輸入Name:Subversion1.6.x
3.2.輸入URL:http://subclipse.tigris.org/update_1.6.x
3.3.勾選Subversion1.6.x checkbox後,會出錯誤
3.4.將Subclipse integration for Mylyn3.x(Optional)3.0.0 checkbox取消,此時就不會有錯誤了
3.5.選取I accept the terms in the license agreements radio button











































二、檢查是否正確安裝Subversion plugin之方法,如下圖所示:
1.選擇Window-->Open Perspective-->Other...選單
2.若看到SVN Repository Exploring選項則表示安裝成功











看到此畫面則恭喜您安裝成功!!