在eclipse里,需要用到Velocity模板语言,但没有开发的插件,在网上搜了好久,都是下面这个插件的介绍:
[i]velocity使用起来很郁闷,eclipse里默认不支持显示其内容,可以使用插件来解决一下。
步骤:Help->Software Updates->Find and Install..->Search for new features to install,
点击“new Remote Site...”,增加 Veloeclipse,值:http://veloeclipse.googlecode.com/svn/trunk/update/
然后一路next,就ok啦。[/i]
怎奈,我怎么装都没有装上,我的是eclpse3.2版本的。
于是重新寻觅,找到了下面的分别在eclipse和editplus里面的开发插件。
注意:eclipse插件,默认的是Velocity1.4,如果想使用1.5或1.6,请将对应的jar包拷贝到插件中,然后修改配置文件plugin.xml:
[i]velocity使用起来很郁闷,eclipse里默认不支持显示其内容,可以使用插件来解决一下。
步骤:Help->Software Updates->Find and Install..->Search for new features to install,
点击“new Remote Site...”,增加 Veloeclipse,值:http://veloeclipse.googlecode.com/svn/trunk/update/
然后一路next,就ok啦。[/i]
怎奈,我怎么装都没有装上,我的是eclpse3.2版本的。
于是重新寻觅,找到了下面的分别在eclipse和editplus里面的开发插件。
注意:eclipse插件,默认的是Velocity1.4,如果想使用1.5或1.6,请将对应的jar包拷贝到插件中,然后修改配置文件plugin.xml:
<runtime>
<library name="xmlplugin.jar">
<export name="*"/>
</library>
<library name="velocity-dep-1.4.jar"> //修改这里
<export name="*"/>
</library>
<library name="dtdparser121.jar">
<export name="*"/>
</library>
</runtime>