Eclipse 經常忘記的設定字體大小 Font Size,
常常設定完以後就許久未在設定,
每次當重啟一個新專案時就找老半天,
在工具列中
window > Reference > General > Appearance > Colors and Fonts > Java > Java Editor Text Font
非常長的路徑 每次找到這邊都花不少時間~~
看看以下的圖就知道在哪了
另外補上還有個基本設定可以改
blogspot.com-GA4
星期三, 10月 22, 2014
星期六, 9月 28, 2013
設定 eclipse console log file location
星期四, 7月 11, 2013
星期四, 1月 05, 2012
subclipse 好用的顯示功能
星期三, 8月 18, 2010
Eclpise開發Tomcat 發佈問題調整
在發怖Tomcat時有時常因為專案檔案太多,因此在發佈的時候會有缺漏而無法啟動成功,在這邊提供幾個碰到這種問題時的檢查方法,如下的情況是有時候引用了其它的專案,在發佈的時候確無法啟動,而又沒有太多的訊息
ex:
嚴重的: Error listenerStart
2010/8/18 下午 03:12:37 org.apache.catalina.core.StandardContext start
嚴重的: Context [/xxx-web] startup failed due to previous errors
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html for an explanation.
1. 先到網站發佈目錄下檢查 .jar 檔案是不是有缺,到發佈目錄下的 WEB-INF/lib 中檢查
ps: 也有可能是其他的缺檔
2. 檢查引用的專案及 third party 是否有正確載入正確版本,如果同時載入不同版本的 jar 以及專案時,會導致發佈時抓錯版本,在這邊要注意一下

3. 如果在設定以及引用的檔案太多時可以另外使用 .classpath 文字模式來快速尋找

4. 最後檢查這J2EE實際載入的 lib 以及引用專案,有時候在引用專案或是調整 third party元件時,如果在這沒有勾選擇不會發佈到測試的 tomcat中
ex:
嚴重的: Error listenerStart
2010/8/18 下午 03:12:37 org.apache.catalina.core.StandardContext start
嚴重的: Context [/xxx-web] startup failed due to previous errors
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html for an explanation.
1. 先到網站發佈目錄下檢查 .jar 檔案是不是有缺,到發佈目錄下的 WEB-INF/lib 中檢查
ps: 也有可能是其他的缺檔
2. 檢查引用的專案及 third party 是否有正確載入正確版本,如果同時載入不同版本的 jar 以及專案時,會導致發佈時抓錯版本,在這邊要注意一下

3. 如果在設定以及引用的檔案太多時可以另外使用 .classpath 文字模式來快速尋找

4. 最後檢查這J2EE實際載入的 lib 以及引用專案,有時候在引用專案或是調整 third party元件時,如果在這沒有勾選擇不會發佈到測試的 tomcat中
星期二, 8月 10, 2010
星期一, 8月 09, 2010
SVN匯出更新log
星期四, 8月 05, 2010
Eclpise開發Tomcat 自動發佈問題調整
星期六, 6月 19, 2010
Eclipse 安裝 Android
官網
Eclipse 3.5 (Galileo) 的安裝方式,3.4的安裝可以見官方說明
1. Start Eclipse, then select Help > Install New Software.
2. In the Available Software dialog, click Add....
3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.
In the "Location" field, enter this URL:
https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).
Click OK.
4. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.
5. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
6. Restart Eclipse.
Eclipse 3.5 (Galileo) 的安裝方式,3.4的安裝可以見官方說明
1. Start Eclipse, then select Help > Install New Software.
2. In the Available Software dialog, click Add....
3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.
In the "Location" field, enter this URL:
https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).
Click OK.
4. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.
5. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
6. Restart Eclipse.
星期三, 12月 16, 2009
星期五, 12月 04, 2009
星期五, 9月 18, 2009
Eclipse 的Jsp Work 目錄位置
星期三, 8月 05, 2009
SVN版本控管& CVS 設定
2010/05/22 補充
SVN的安裝在官網上有新的說明
要安裝方便多了
有幾下幾個版本可以進行安裝
Name: Subclipse 1.6.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.6.x
Name: Subclipse 1.4.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.4.x
Name: Subclipse 1.2.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.2.x
Name: Subclipse 1.0.x (Eclipse 3.0/3.1)
URL: http://subclipse.tigris.org/update_1.0.x
SVN安裝步驟:
版本控管說明
在 Eclipse IDE 中
點選 [說明 > 軟體更新> 尋找和安裝 > 搜尋要安裝的新特性 > 新的遠端網站]
輸入
名稱:SubEclipse
URL:http://subclipse.tigris.org/update
按下 [確定 > 完成]
出現搜尋結果後,勾選 SubEclipse 後按下 [下一步 > 點選接受授權後按下一步 > 完成]
開始進行下載,完成後出現驗證視窗點選 [全部安裝] 完成後重新啟動 Eclipse IDE 就完成安裝。
使用:
在 Eclipse IDE 中點選 [視窗 > 顯示視圖 > 其他]
出現顯示視圖對話框後,選擇 [SVN.SVN 檔案庫] 後按下確定。就會在 Eclipse IDE 中。
用 Subversion 跟 Google Code 作版本控制
SVN相關文章介紹
CVS官方網站
1. 下載步驟 : 進入官網的 CVSNT Server 中, 點選 "Server Windows", 再點選 "Free Download Now"
2. 安裝步驟下一步完成
安裝步驟請見官網
Google CVS工具
SVN的安裝在官網上有新的說明
要安裝方便多了
有幾下幾個版本可以進行安裝
Name: Subclipse 1.6.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.6.x
Name: Subclipse 1.4.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.4.x
Name: Subclipse 1.2.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.2.x
Name: Subclipse 1.0.x (Eclipse 3.0/3.1)
URL: http://subclipse.tigris.org/update_1.0.x
SVN安裝步驟:
版本控管說明
在 Eclipse IDE 中
點選 [說明 > 軟體更新> 尋找和安裝 > 搜尋要安裝的新特性 > 新的遠端網站]
輸入
名稱:SubEclipse
URL:http://subclipse.tigris.org/update
按下 [確定 > 完成]
出現搜尋結果後,勾選 SubEclipse 後按下 [下一步 > 點選接受授權後按下一步 > 完成]
開始進行下載,完成後出現驗證視窗點選 [全部安裝] 完成後重新啟動 Eclipse IDE 就完成安裝。
使用:
在 Eclipse IDE 中點選 [視窗 > 顯示視圖 > 其他]
出現顯示視圖對話框後,選擇 [SVN.SVN 檔案庫] 後按下確定。就會在 Eclipse IDE 中。
用 Subversion 跟 Google Code 作版本控制
SVN相關文章介紹
CVS官方網站
1. 下載步驟 : 進入官網的 CVSNT Server 中, 點選 "Server Windows", 再點選 "Free Download Now"
2. 安裝步驟下一步完成
安裝步驟請見官網
Google CVS工具
星期四, 7月 31, 2008
Eclipse 外掛 Fat-jar 包裝引用jar檔
參考文章:http://redbug.twbbs.org/index.php/2008/07/28/397
1. 設定Fat-jar
help-> software updates -> Find and Install -> Search for new features to install -> new remote site
輸入 plugin 的名字和更新的來源:
Name: Fat Jar
URL: http://kurucz-grafika.de/fatjar
2.要export的Project上按右鍵,選"build fat-jar"
之後便會跳出選單,把你的Main-Class 設定好,按下一步。
接著把你要一起包進去的lib1.jar lib2.jar ...勾選,按下一步。
它就會幫你全部打包成一個xxx.jar檔,並放置於你的Project的根目錄下。
這個xxx.jar檔無論放在什麼位置,應該都是雙點便可執行的。
※原本jar包裝方式
java -classpath proj.jar;lib1.jar;lib2.jar Main-ClassName(沒有.class哦)
封裝方式
1. 設定Fat-jar
help-> software updates -> Find and Install -> Search for new features to install -> new remote site
輸入 plugin 的名字和更新的來源:
Name: Fat Jar
URL: http://kurucz-grafika.de/fatjar
2.要export的Project上按右鍵,選"build fat-jar"
之後便會跳出選單,把你的Main-Class 設定好,按下一步。
接著把你要一起包進去的lib1.jar lib2.jar ...勾選,按下一步。
它就會幫你全部打包成一個xxx.jar檔,並放置於你的Project的根目錄下。
這個xxx.jar檔無論放在什麼位置,應該都是雙點便可執行的。
※原本jar包裝方式
java -classpath proj.jar;lib1.jar;lib2.jar Main-ClassName(沒有.class哦)
封裝方式
星期四, 7月 24, 2008
安裝Eclipse Web Tools Platform
以下是線上安裝教學
http://eclipse.cdpa.nsysu.edu.tw/technology/phoenix/demos/install-wtp/install-wtp.html
檔案下載路徑:http://www.eclipse.org/webtools/
改成 Eclipse 3.4 以後
1. 下載 wtp-R-3.0
2. 直接在 Help > Software Updates > 進入 Available Software 選擇妳要安裝的WTP部分
總體上來說 Eclipse 3.4 比 3.3 好用多了
http://eclipse.cdpa.nsysu.edu.tw/technology/phoenix/demos/install-wtp/install-wtp.html
檔案下載路徑:http://www.eclipse.org/webtools/
改成 Eclipse 3.4 以後
1. 下載 wtp-R-3.0
2. 直接在 Help > Software Updates > 進入 Available Software 選擇妳要安裝的WTP部分
總體上來說 Eclipse 3.4 比 3.3 好用多了
星期五, 7月 04, 2008
安裝tomcat Plugin
網路上以及書上所說的tomcatPlugin都有問題下,找到了以下的下載路徑,
我個人的安裝環境如下
eclipse 3.3.2
tomcatPluginV321.zip
tomcat5.5.26
基本安裝步驟 tomcatPlugin 如下︰
1. 先到以下網址下載最新的 tomcatPlugin,並放入 eclipse的 plugin 目錄中
2. 安裝 tomcat ,請到官方下載 .zip 的檔案,個人下載 tomcat5.5.26
3. 設定本機系統環境,將 JAVA_HOME、PATH、CLASS_PATH 加入
4. 開始測試tomcat是否可以執行
5. 開啟eclipse,到這邊我個人開啟之後就已經有tomcat的啟動按鈕出現了,如果沒有的話請依照以下步驟設定
6.開始設定tomcat版本
我個人的安裝環境如下
eclipse 3.3.2
tomcatPluginV321.zip
tomcat5.5.26
基本安裝步驟 tomcatPlugin 如下︰
1. 先到以下網址下載最新的 tomcatPlugin,並放入 eclipse的 plugin 目錄中
2. 安裝 tomcat ,請到官方下載 .zip 的檔案,個人下載 tomcat5.5.26
3. 設定本機系統環境,將 JAVA_HOME、PATH、CLASS_PATH 加入
4. 開始測試tomcat是否可以執行
- commad 模式進入 tomcat\bin 執行 startup.bat
- 測試 http://localhost:8080/是否可以執行
5. 開啟eclipse,到這邊我個人開啟之後就已經有tomcat的啟動按鈕出現了,如果沒有的話請依照以下步驟設定
- 工具列進入 window > Customize Perspective > Commands 頁籤,在這邊你可以看到tomcat選項
- 把tomcat選項勾選,你會發現在toolbar中多了三個tomcat啟動控制項
6.開始設定tomcat版本
- 工具列進入 window > Preferences > Tomcat
- 選擇tomcat版本
- 設定tomcat home C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26
- 回到主畫面,點選tomcat啟動,這時候你的tomcat 就可以正常在eclipse中執行了
星期二, 6月 17, 2008
Bad version number in .class file
訂閱:
文章 (Atom)











