File: devtools.xml

package info (click to toggle)
velocity 1.4-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 17,900 kB
  • ctags: 9,916
  • sloc: java: 24,335; xml: 17,188; sh: 99; lisp: 53; makefile: 16
file content (130 lines) | stat: -rw-r--r-- 3,813 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0"?>

<!--
   Copyright 2000-2004 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->


<document>

 <properties>
  <title>Velocity and Development Tools</title>
  <author email="velocity-user@jakarta.apache.org">Velocity Documentation Team</author>
 </properties>

<body>

<section name="Velocity and Development Tools">

<p>
   We have three contributions from the user community to help make developing with
   Velocity easier and more convenient.
</p>

<subsection name="IntelliJ IDEA">

<p>
 Rickard Oberg (rickard@xpedio.com) has contributed templates for the
 <a href="http://www.intellij.com/">IntelliJ IDEA</a> IDE.
 </p>

 <p>
 They can  be found
 <a href="http://cvs.apache.org/viewcvs/jakarta-velocity/contrib/tools/intellij/">
 here</a> in the Velocity CVS, or can be found in the /contrib/tools directory
 of the source tree.
</p>

</subsection>

<subsection name="UltraEdit Editor">

<p>
Herve Guidetti (Herve.Guidetti@idbsoft.ch) contributed a 'word.txt' addition
(with  tweaks and comments by Wido Hillmann (wido.hillmann@epost.de) )
for the <a href="http://www.ultraedit.com/">UltraEdit</a> programmers editor.
</p>

<p>
 It can  be found
 <a href="http://cvs.apache.org/viewcvs/jakarta-velocity/contrib/tools/ultraedit/">
 here</a> in the Velocity CVS, or can be found in the /contrib/tools directory
 of the source tree.
</p>

<p>
To add this to your UltraEdit configuration :
<ol>
<li> Go into UltraEdit home directory.</li>
<li> Add the content of the file to the end of your word.txt file. </li>
<li> Modify the number on the first line (/L9 in this case), so that it matches
your word.txt definition. (it's incremental)</li>
<li> Edit a .vm template with UltraEdit. You should now have syntax coloring
for Velocimacros.</li>
</ol>
</p>


</subsection>

<subsection name="JEdit">

<p>
Saimon Moore (smoore@serikat.es) contributed a Velocity mode for the java-based
editor <a href="http://www.jedit.org">JEdit</a>, and can be found here in
<a href="http://cvs.apache.org/viewcvs/jakarta-velocity/contrib/tools/jedit/">
velocity.xml</a>.
</p>

<p>
To install, add the velocity.xml to one of your 'mode' directories,
and add the following to that directory's catalog file :
<pre>
&lt;MODE NAME="velocity"  FILE="velocity.xml"
		       FILE_NAME_GLOB="*.vw" /&gt;
</pre>
and restart JEdit.  If there are any problems with installation,
see the JEdit documentation about 'Modes'.
</p>

</subsection>

<subsection name="TextPad">

<p>
Jeff Linwood (jeff@greenninja.com) created a simple syntax definition for
Velocity for the <a href="http://www.textpad.com/">TextPad</a> editor, which
can be found <a href="http://www.textpad.com/add-ons/synu2z.html">here</a>.
</p>

</subsection>

<subsection name="Emacs">

<p>
Brian Leonard (brian@brainslug.org) contributed a minor mode that does
font-locking (syntax coloring) of VTL in emacs.  As a minor mode, it
insinuates itself into whatever major mode you're using, so you don't lose
the major mode's goodness. It can be found
<a href="http://cvs.apache.org/viewcvs/jakarta-velocity/contrib/tools/emacs/">
here</a>.
</p>

</subsection>

</section>

</body>
</document>