Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 2ca367063dafef5fd91fe55e3fe7d3b6 > files > 681

velocity-manual-1.7-22.1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you 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.    
-->

<!-- start the processing -->
    <!-- ====================================================================== -->
    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
    <!-- Main Page Section -->
    <!-- ====================================================================== -->
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

                                                    <meta name="author" value="Velocity Documentation Team">
            <meta name="email" value="dev@velocity.apache.org">
            
           
                                    
                        
            <title>Velocity - Velocity dependencies</title>

									<link rel="stylesheet" href="./site.css" type="text/css">
        </head>

        <body>

			
			<div id="container">

				<div id="header">
					
<div id="logo1">
	<a href="http://velocity.apache.org"><img src="./images/velocity_project_wide.png" border="0"/></a>
</div>



<div id="logo2">

<a href="http://velocity.apache.org/"><img src="./images/velocity-logo.png" alt="Velocity" border="0"/></a>

</div>

				</div>

				<div id="menu">
					
    <!-- ============================================================ -->

            	<div class="menusection">
    		<span class="menuheader">Velocity</span>
			<ul>
							<li>    <a href="./index.html">General</a>
</li>
							<li>    <a href="./overview.html">Overview</a>
</li>
							<li>    <a href="./getting-started.html">Getting Started</a>
</li>
							<li>    <a href="./webapps.html">Web Applications</a>
</li>
							<li>    <a href="http://velocity.apache.org/download.cgi">Download</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/VelocityFAQ">FAQ (Wiki)</a>
</li>
						</ul>
        </div>
        	<div class="menusection">
    		<span class="menuheader">Docs</span>
			<ul>
							<li>    <a href="./user-guide.html">User Guide</a>
</li>
							<li>    <a href="./developer-guide.html">Developer Guide</a>
</li>
							<li>    <a href="./vtl-reference-guide.html">VTL Reference</a>
</li>
							<li>    <a href="./glossary.html">Glossary</a>
</li>
						</ul>
        </div>
        	<div class="menusection">
    		<span class="menuheader">Developers</span>
			<ul>
							<li>    <a href="./../LICENSE">License</a>
</li>
							<li>    <a href="./api/index.html">Javadoc</a>
</li>
							<li>    <a href="http://velocity.apache.org/engine/devel/changes-report.html">Changes</a>
</li>
							<li>    <a href="http://velocity.apache.org/engine/devel/jira-report.html">Resolved Issues</a>
</li>
							<li>    <a href="./jar-dependencies.html">Dependencies</a>
</li>
							<li>    <a href="http://svn.apache.org/viewvc/velocity/engine/trunk/">Source Code Repository</a>
</li>
							<li>    <a href="./build.html">Building from Source</a>
</li>
						</ul>
        </div>
        	<div class="menusection">
    		<span class="menuheader">Community</span>
			<ul>
							<li>    <a href="http://wiki.apache.org/velocity/">Wiki</a>
</li>
							<li>    <a href="http://velocity.apache.org/news.html">Recent News</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/PoweredByVelocity">Powered By Velocity</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/VelocityEditors">IDE/Editor Plugins</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/PublishedArticlesAndBooks">Articles and Books</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/GetInvolved">Get Involved</a>
</li>
							<li>    <a href="http://velocity.apache.org/contact.html">Mailing Lists</a>
</li>
						</ul>
        </div>
        	<div class="menusection">
    		<span class="menuheader">Velocity Development</span>
			<ul>
							<li>    <a href="http://wiki.apache.org/velocity/RoadMap">Road Map</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/CodeStandards">Coding Standards</a>
</li>
							<li>    <a href="http://wiki.apache.org/velocity/DocumentationGuidelines">Documentation Guidelines</a>
</li>
							<li>    <a href="https://issues.apache.org/jira/browse/VELOCITY">Issues</a>
</li>
							<li>    <a href="http://velocity.apache.org/who-we-are.html">Who we are</a>
</li>
						</ul>
        </div>
        	<div class="menusection">
    		<span class="menuheader">Translations</span>
			<ul>
							<li>    <a href="http://www.jajakarta.org/velocity/">Site (Japanese)</a>
</li>
							<li>    <a href="./translations/user-guide_fi.html">User's Guide (Finnish)</a>
</li>
							<li>    <a href="./translations/user-guide_fr.html">User's Guide (French)</a>
</li>
							<li>    <a href="./translations/user-guide_es.html">User's Guide (Spanish)</a>
</li>
						</ul>
        </div>
    				</div>

				<div id="body">
																	<a name="dependencies"></a>
	<h1>Velocity dependencies</h1>

	<div class="subsection">
														<p>
       Velocity has a number of external jar dependencies. However, not all of these
       are needed every time. This document should help you do decide which jars must
       also be present if you want to integrate Velocity into your application.
      </p>
																			<p>
       All of these jars must be present when building Apache Velocity. The build process
       downloads all of them automatically from the Internet.
      </p>
																			<table>
                        <tr>
                        <th colspan="" rowspan="">
						jar name
			</th>
                                <th colspan="" rowspan="">
						Required
			</th>
                                <th colspan="" rowspan="">
						Explanation
			</th>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						commons-collections
			</td>
                                <td colspan="" rowspan="">
						Yes
			</td>
                                <td colspan="" rowspan="">
						Needed for all parts of Velocity
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						commons-lang
			</td>
                                <td colspan="" rowspan="">
						Yes
			</td>
                                <td colspan="" rowspan="">
						Needed for all parts of Velocity
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						commons-logging
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Must be present if log system is configured to use
              
													<a href="apidocs/org/apache/velocity/runtime/log/CommonsLogLogChute.html">CommonsLogLogChute</a>
										.
              Otherwise, it is not needed.
          
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						oro
			</td>
                                <td colspan="" rowspan="">
						Yes
			</td>
                                <td colspan="" rowspan="">
						Must be present if you have Velocity configured to
              
													<a href="developer-guide.html#Configuring_Event_Handlers">automatically escape references</a>
										.
              Otherwise, it is not needed.
          
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						log4j
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Must be present if log4j Logging has been selected.
              Not needed if any other logging style has been selected.
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						logkit (or avalon-logkit)
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Must be present if Avalon Logging has been selected.
              Not needed if any other logging style has been selected.
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						servletapi
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only needed when the 
													<a href="apidocs/org/apache/velocity/servlet/VelocityServlet.html">VelocityServlet</a>
										
              or 
													<a href="apidocs/org/apache/velocity/runtime/log/ServletLogChute.html">ServletLogChute</a>
										 are used.
              Should normally be supplied by the servlet container.
              
													<b>VelocityServlet is deprecated and should
              be replaced with VelocityViewServlet from the
              <a href="http://velocity.apache.org/tools/devel/">velocity-tools</a> distribution.</b>
					</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						jdom
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only required for the deprecated Anakia tool / ant task
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						werken-xpath
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only required for the deprecated Anakia tool / ant task
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						antlr
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only required for the deprecated Anakia tool / ant task
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						ant
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only needed for compilation.
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						junit
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only needed for running the tests during compilation.
			</td>
            </tr>
                                <tr>
                        <td colspan="" rowspan="">
						hsqldb
			</td>
                                <td colspan="" rowspan="">
						No
			</td>
                                <td colspan="" rowspan="">
						Only needed for running the tests during compilation.
			</td>
            </tr>
            </table>
																			<p>
        The most common case is the integration of the Velocity runtime into your
        application. In this case, you must add commons-collections and commons-lang
        to your application (and optional Oro or commons-logging if
        required). If you already have one or more of these libraries in your application,
        you should check if you need to update their versions.
      </p>
																			<p>The <a href="dependencies.html">auto-generated dependency report</a> lists all mandatory
         dependencies as <b>compile</b> and all optional dependencies as <b>provided</b>, though
         it fails to properly reflect the optional nature of the Oro and Commons-Logging dependencies.
      </p>
								</div>
									</div>

				<div id="footer">
					Copyright &#169; 1999-2007, <a href="http://www.apache.org/">The Apache Software Foundation</a>.
				</div>

			</div>

        </body>
    </html>
<!-- end the processing -->