---
title: "Velocity插件veloeclipse离线安装"
author: "longying2008"
date: "2014-07-28T13:23:14Z"
tags: ["velocity", "veloeclipse"]
categories: ["Web前端"]
slug: "velocity-veloeclipse"
draft: false
lastmod: "2014-07-28T13:23:14Z"
id: 2097250
url: "https://longying2008.iteye.com/blog/2097250"
---

由于电信把谷歌给屏蔽了，所以不能使用在线安装。如果能够成功访问谷歌的话，建议使用在线安装。在线安装方式请自行百度。

这里介绍下veloeclipse离线安装方式，在我的机器上安装是没有什么问题。

我的Eclipse版本是Indigo Service Release 2。

 

安装步骤：

1\. 在Eclipse安装根目录下创建两个文件夹：links和myplugins。

2\. 将下载的veloeclipse.zip解压到myplugins目录下。

3\. 在links目录下创建文件veloeclipse.txt，打开并输入：

path=H:/eclipse/myplugins/veloeclipse

4\. 保存并关闭veloeclipse.txt，并将文件改成veloeclipse.link，重启Eclipse。

5\. 检查veloeclipse插件是否正确安装：

window -&gt; Preferences

![](http://dl2.iteye.com/upload/attachment/0099/6007/8d2d2f2e-c057-3d67-8311-265d68aaef5b.png)  
 

安装成功后Velocity文件显示效果：

![](http://dl2.iteye.com/upload/attachment/0099/6015/e14f2b1a-fa21-36d4-af8f-872c9e1d0f4d.png)