標籤:
在Eclipse下編輯Velocity模板的外掛程式,支援文法著色,代碼嚮導等功能,簡單好用,沒有可視化編輯。
Eclipse的更新地址是:http://veloeclipse.googlecode.com/svn/trunk/update/
但在Eclipse 4.4(luna) 安裝時報錯如下:
An error occurred while installing the items session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null -->
[R]com.googlecode.veloeclipse.ui 2.0.8, action=).
Failed to prepare partial IU: [R]com.googlecode.veloeclipse.ui 2.0.8.
解決方案:
Help -> Install New Software... -> Work with
-> 選擇“The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4”
-> 勾選"Eclipse Tests, Examples, and Extras" 下的 "Eclipse 2.0 Style Plugin Support"
安裝要花點時間,耐心等待,安裝完成後,再重新安裝veloeclipse,一步一步便可以安裝成功!
英文原文解決方案為:
So, go to Help -> Install New Software..., choose "The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4" from the "Work with" list and then in the "Eclipse Tests, Examples, and Extras" category check "Eclipse 2.0 Style Plugin Support" and install it. After restarting Eclipse, install veloeclipse again and this time the installation will succeed.
參考資料:
http://code.google.com/p/veloeclipse/issues/detail?id=47
Eclipse 4.4(luna) 安裝Veloeclipse 2.0.8時報錯的問題