在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.
参考资料: