Install FreeMarker Eclipse plugin

FreeMarker  is a Java Template Engine Library which is similar to Velocity. We have Eclipse plugin from  JBoss Tools . We have two ways to install the plugin, one is using the Update Site, the other is to download and do standalone installation.

I use FireFox and install the latest JBoss Tools 3.2 version (as of May 2011) on MacBook Pro. Here are the steps to install FreeMarker IDE and documentation:
  

1. Get the Update Site URL
From "Update Sites", mouse over a stable version and right click to "Copy Link Location" 
http://download.jboss.org/jbosstools/updates/stable/helios/

2. Configure Update Site
Eclipse -> Help -> Install New Software... -> On the popup "Available software" dialog, click "Add..." button to add a repository -> Input name "FreeMarker" or whatever you want, then input the site from step 1

3. Install "FreeMarker IDE"
From "Application Development" category, select "FreeMarker IDE" to install. 
Install FreeMarker IDE plugin

4. Install "FreeMarker documentation"
This is a separate download http://freemarker.org/download/editor/fm-eclipse-help.tar.gz from FreeMarker official site. It requires some manual work after download (see README.txt in the package).

5. Restart Eclipse
After restart Eclipse, we can get "Syntax highlight, syntax error indicator, outline view, code completion for macro names and bean property names." when edit *.ftl (FreeMarker template) files. And we can also see documentations and offline websites from Eclipse Help system.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值