This is an automated email from the ASF dual-hosted git repository. cbrisson pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/velocity-site.git
commit c1b27d7643bbf13de77fe13cf43167d17a13ef3e Author: Henning Schmiedehausen <[email protected]> AuthorDate: Sun Nov 13 22:02:35 2005 +0000 Add Skeleton documents for building a Velocity wrapper site. Not yet functional. git-svn-id: https://svn.apache.org/repos/asf/jakarta/velocity/site/trunk@343976 13f79535-47bb-0310-9956-ffa450edef68 --- LICENSE.txt | 202 +++++++++++++++++++++++++++++++++++ project.properties | 20 ++++ project.xml | 103 ++++++++++++++++++ xdocs/images/jakarta.png | Bin 0 -> 17136 bytes xdocs/images/newlogo.png | Bin 0 -> 2562 bytes xdocs/images/powered-by-logo.gif | Bin 0 -> 2436 bytes xdocs/index.xml | 157 +++++++++++++++++++++++++++ xdocs/navigation.xml | 69 ++++++++++++ xdocs/releases/dvsl/index.xml | 25 +++++ xdocs/releases/engine/index.xml | 27 +++++ xdocs/releases/tools/index.xml | 27 +++++ xdocs/stylesheets/maven-velocity.css | 127 ++++++++++++++++++++++ 12 files changed, 757 insertions(+) diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/project.properties b/project.properties new file mode 100644 index 0000000..6036d71 --- /dev/null +++ b/project.properties @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------- +# P R O J E C T P R O P E R T I E S +# +# $Id$ +# +# Do not change this file. Please use build.properties in this directory +# to do site or installation specific changes to the project build. +# ------------------------------------------------------------------- + +# display the date on the site +maven.xdoc.date = bottom +maven.xdoc.locale.default = en + +# No ideology without asking +maven.xdoc.developmentProcessUrl= +maven.xdoc.includeProjectDocumentation= no +maven.xdoc.theme= velocity + +# No version here +maven.xdoc.version= diff --git a/project.xml b/project.xml new file mode 100644 index 0000000..967fd60 --- /dev/null +++ b/project.xml @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + + <pomVersion>3</pomVersion> + <id>velocity-site</id> + <groupId>jakarta</groupId> + <name>The Apache Jakarta Project</name> + <currentVersion>1.0</currentVersion> + <organization> + <name>Apache Software Foundation</name> + <url>http://jakarta.apache.org/</url> + <logo>/images/jakarta.png</logo> + </organization> + <inceptionYear>2000</inceptionYear> + <logo>/images/newlogo.png</logo> + + <description> + This is the site module from the Apache Jakarta Velocity project. + </description> + + <shortDescription>Apache Jakarta Velocity site module</shortDescription> + + <url>http://jakarta.apache.org/velocity/</url> + <siteAddress>people.apache.org</siteAddress> + <siteDirectory>/www/jakarta.apache.org/velocity/site/</siteDirectory> + + <mailingLists> + <mailingList> + <name>Velocity User List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <archive>http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user</archive> + </mailingList> + <mailingList> + <name>Velocity Developer List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <archive>http://mail-archives.apache.org/mod_mbox/jakarta-velocity-dev</archive> + </mailingList> + </mailingLists> + + <developers> + + <developer> + <name>Will Glass-Husain</name> + <id>wglass</id> + <email>[email protected]</email> + <organization>Forio Business Simulations</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + + <developer> + <name>Geir Magnusson Jr.</name> + <id>geirm</id> + <email>[email protected]</email> + <organization>Independent (DVSL Maven)</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + + <developer> + <name>Daniel Rall</name> + <id>dlr</id> + <email>[email protected]</email> + <organization>CollabNet, Inc.</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + + <developer> + <name>Henning P. Schmiedehausen</name> + <id>henning</id> + <email>[email protected]</email> + <organization>INTERMETA - Gesellschaft fuer Mehrwertdienste mbH</organization> + <roles> + <role>Java Developer</role> + </roles> + <timezone>2</timezone> + </developer> + + <developer> + <name>Nathan Bubna</name> + <id>nbubna</id> + <email>[email protected]</email> + <organization>ESHA Research</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + </developers> + + <contributors/> + + <!-- Can you believe that? --> + <reports> + <report>maven-license-plugin</report> + </reports> +</project> + diff --git a/xdocs/images/jakarta.png b/xdocs/images/jakarta.png new file mode 100644 index 0000000..ab945d3 Binary files /dev/null and b/xdocs/images/jakarta.png differ diff --git a/xdocs/images/newlogo.png b/xdocs/images/newlogo.png new file mode 100644 index 0000000..a775232 Binary files /dev/null and b/xdocs/images/newlogo.png differ diff --git a/xdocs/images/powered-by-logo.gif b/xdocs/images/powered-by-logo.gif new file mode 100644 index 0000000..0c5b050 Binary files /dev/null and b/xdocs/images/powered-by-logo.gif differ diff --git a/xdocs/index.xml b/xdocs/index.xml new file mode 100644 index 0000000..5b02398 --- /dev/null +++ b/xdocs/index.xml @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + + <properties> + <title>Velocity</title> + <author email="[email protected]">Velocity Documentation + Team</author> + </properties> + + <body> + <section name="What is Velocity?" href="WhatisVelocity?"> + <p>Velocity is a Java-based template engine. It permits anyone to use a simple yet + powerful template language to reference objects defined in Java code. </p> + + <p>Velocity is written in 100% pure Java and can be easily embedded into your own + applications. It also provides easy integration into web applications through a + servlet and tasks for using Velocity from + <a href="http://ant.apache.org/">Apache Ant</a>.</p> + </section> + + <section name="Where can Velocity be used?"> + <subsection name="Web based applications"> + <p> When Velocity is used for web development, Web designers can work in parallel with + Java programmers to develop web sites according to the Model-View-Controller + (MVC) model, meaning that web page designers can focus solely on creating a site + that looks good, and programmers can focus solely on writing top-notch code. + Velocity separates Java code from the web pages, making the web site more + maintainable over its lifespan and providing a viable alternative to + <a href="http://java.sun.com/products/jsp/">Java Server Pages</a> (JSPs) or + <a href="http://www.php.net/">PHP</a>. </p> + </subsection> + + <subsection name="Template based code and report generation"> + <p> Velocity's capabilities reach well beyond the realm of the web; for example, it + can be used to generate SQL, PostScript and XML (see + <a href="/engine/anakia/index.html">Anakia</a> for more information on XML + transformations) from templates. It can be used either as a standalone utility for + generating source code and reports, or as an integrated component of other + systems. </p> + </subsection> + + <subsection name="Framework Integration"> + <p> A huge number of other projects have Velocity integration either natively or + through 3rd party add-ons. Some examples are:</p> + + <ul> + <li> + <a href="http://jakarta.apache.org/turbine/">Turbine</a> uses Velocity + as its main view layer.</li> + <li> + <a href="http://struts.apache.org/">Struts</a> offers Velocity + integration through a Velocity subproject called + <a href="/tools/">Velocity Tools</a> + .</li> + <li> + <a href="http://www.springframework.org">Spring Framework</a> supports + Velocity through its + <code>VelocityConfigurer</code> and <code>VelocityViewResolver</code>.</li> + </ul> + </subsection> + </section> + + <section name="Velocity projects"> + <p> Velocity currently consists of three sub-projects:</p> + + <ul> + <li> + <a href="/engine/">Velocity Engine</a>. This is the actual + templating engine which does all the work. This sub-project contains also the task + definitions for using Velocity from + <a href="http://ant.apache.org/">Apache Ant</a>. </li> + <li> + <a href="/tools/">Velocity Tools</a>. This sub-project contains + tools and other useful infrastructure to build web- and non-web application using + Velocity. You will find e.g. code for + <a href="http://struts.apache.org/">Struts</a> integration or the + standalone Velocity View Servlet here. </li> + + <li> + <a href="/dvsl/">Velocity DVSL</a>. DVSL + (Declarative Velocity Style Language) is a tool modeled after XSLT and is intended + for general XML transformations using the Velocity Template Language as the + transformation language. </li> + </ul> + </section> + + <section name="Where do I get releases?" href="WheredoIgetreleases?"> + + <p> The current release version is version 1.5. </p> + + <p> The release distribution is available as a combined source/binary distribution in + <code>tar.gz</code> and + <code>zip</code> formats, and can be downloaded through the + <a + href="http://jakarta.apache.org/site/downloads/downloads_velocity-engine.cgi"> + Apache Mirror system</a>. </p> + + <p> The Velocity jars are also available through the + <a href="http://www.ibiblio.org/maven/velocity/">central Maven + repository</a>. </p> + + <p> Older releases are archived at the + <a href="http://archive.apache.org/dist/jakarta/velocity/">Jakarta + Velocity archives</a>. </p> + + </section> + + <section name="Where do I get nightly snapshots?" + href="WheredoIgetnightlysnapshots?"> + + <p> Nightly snapshots of the Velocity subversion source code tree can be found + <a href="http://cvs.apache.org/snapshots/jakarta-velocity/"> here</a>. </p> + + <p> These are meant to provide easy access to the actual project source control tree. As + this is our live development workspace, there are no guarantees as to what you will + find there, although we do our best to maintain a buildable source tree. If you are + looking for the stable supported release, please use the current release of + Velocity. </p> + + <p> If you are willing to risk getting dirty, we invite you to try the nightly snapshot to + see the current state of affairs. (and help out!) + <a href="http://www.apache.org/dev/version-control.html">Public Subversion + access</a> is also available. </p> + + </section> + + <section name="How do I contribute, give feedback, fix bugs and so on?" + href="HowdoIcontribute,givefeedback,fixbugsandsoon?"> + + <p> The Velocity project appreciates any contributions, including documentation + help, source code and feedback. Suggested changes should come in the form of source + code and/or feedback. </p> + + <ul> + <li> Report bugs, ask questions, and help new users on the + <a href="http://jakarta.apache.org/site/mail2.html#Velocity"> Velocity + mailing lists</a>. </li> + + <li> There's a list of issues waiting to be addressed in + <a href="http://issues.apache.org/jira/browse/VELOCITY"> JIRA</a>. </li> + + <li> + <a href="http://wiki.apache.org/jakarta-velocity/FrontPage"> Our Wiki</a> + has a large collection of community written content. Add your own article or + contribute to the FAQ! </li> + <li> Read-only access to the Subversion + <strong>jakarta-velocity</strong> repository is available both + <a href="http://svn.apache.org/repos/asf/jakarta/velocity/trunk/"> + online</a> and with a + <a href="http://www.apache.org/dev/version-control.html"> Subversion + client</a>. </li> + </ul> + + </section> + </body> +</document> diff --git a/xdocs/navigation.xml b/xdocs/navigation.xml new file mode 100644 index 0000000..c534ab3 --- /dev/null +++ b/xdocs/navigation.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="Jakarta Velocity" href="http://jakarta.apache.org/velocity/"> + <title>Jakarta Velocity</title> + + <body> + <links> + <item name="Home" href="/index.html"/> + <item name="Engine" href="/engine/"/> + <item name="Tools" href="/tools/"/> + </links> + + <menu name="General"> + <item name="Home" href="/index.html"/> + <item name="Mailing Lists" href="/mail-lists.html"/> + <item name="Project team" href="/team-list.html"/> + </menu> + + <menu name="Subprojects"> + <item name="Velocity Engine" href="/engine/"/> + <item name="Velocity Tools" href="/tools/"/> + <item name="Velocity DVSL" href="/dvsl/"/> + </menu> + + <menu name="Releases"> + <item name="Downloads" + href="http://jakarta.apache.org/site/downloads/downloads_velocity.cgi"/> + <item name="Velocity" href="/releases/engine/index.html" collapse="true"> + <item name="Velocity-1.3.1" href="/releases/engine/velocity-1.3.1/index.html" collapse="true"/> + <item name="Velocity-1.4" href="/releases/engine/velocity-1.4/index.html" collapse="true"/> + <item name="Velocity-1.5" href="/releases/engine/velocity-1.5/index.html" collapse="true"/> + </item> + <item name="Velocity Tools" href="/releases/tools/index.html" collapse="true"> + <item name="Velocity Tools 1.1" + href="/releases/tools/velocity-tools-1.1/index.html" collapse="true"/> + <item name="Velocity Tools 1.2" + href="/releases/tools/velocity-tools-1.2/index.html" collapse="true"/> + </item> + <item name="Velocity DVSL" href="/releases/dvsl/index.html" collapse="true"> + <item name="Velocity DVSL 1.0" + href="/releases/dvsl/velocity-dvsl-1.0/index.html" collapse="true"/> + </item> + </menu> + + <menu name="Community"> + <item name="Wiki" href="http://wiki.apache.org/jakarta-velocity/"/> + <item name="Recent News" href="http://wiki.apache.org/jakarta-velocity/VelocityNews"/> + <item name="Powered By Velocity" href="http://wiki.apache.org/jakarta-velocity/PoweredByVelocity"/> + <item name="IDE/Editor Plugins" href="http://wiki.apache.org/jakarta-velocity/VelocityEditors"/> + <item name="Articles and Books" href="http://wiki.apache.org/jakarta-velocity/PublishedArticlesAndBooks"/> + <item name="Get Involved" href="http://wiki.apache.org/jakarta-velocity/GetInvolved"/> + <item name="Mailing Lists" href="http://jakarta.apache.org/site/mail.html"/> + </menu> + + <menu name="Developers"> + <item name="Source Code Repository" href="http://www.apache.org/dev/version-control.html"/> + <item name="Issues" href="http://issues.apache.org/jira/browse/VELOCITY"/> + <item name="Nightly Snapshots" href="http://cvs.apache.org/snapshots/velocity/"/> + <item name="Road Map" href="http://wiki.apache.org/jakarta-velocity/RoadMap"/> + <item name="Coding Standards" href="http://wiki.apache.org/jakarta-velocity/CodeStandards"/> + <item name="Documentation Guidelines" href="http://wiki.apache.org/jakarta-velocity/DocumentationGuidelines"/> + </menu> + + <powered-by> + <item name="Velocity" href="http://jakarta.apache.org/velocity/" img="/images/powered-by-logo.gif" /> + </powered-by> + </body> +</project> + diff --git a/xdocs/releases/dvsl/index.xml b/xdocs/releases/dvsl/index.xml new file mode 100644 index 0000000..4193d47 --- /dev/null +++ b/xdocs/releases/dvsl/index.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Velocity DVSL</title> + <author email="[email protected]">Velocity Documentation + Team</author> + </properties> + + <body> + <section name="Velocity DVSL"> + <p>Velocity DVSL + (Declarative Velocity Style Language) is a tool modeled after XSLT and is intended + for general XML transformations using the Velocity Template Language as the + transformation language. </p> + + <p>From this page, you can branch to the official documentation for + released versions:</p> + + <ul> + <li><a href="/releases/DVSL/velocity-dvsl-1.0">Velocity DVSL 1.0</a></li> + </ul> + </section> + </body> +</document> diff --git a/xdocs/releases/engine/index.xml b/xdocs/releases/engine/index.xml new file mode 100644 index 0000000..f7592b8 --- /dev/null +++ b/xdocs/releases/engine/index.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Velocity Engine</title> + <author email="[email protected]">Velocity Documentation + Team</author> + </properties> + + <body> + <section name="Velocity Engine"> + <p>This is the actual templating engine which does all the + work. This sub-project contains also the task definitions + for using Velocity from <a + href="http://ant.apache.org/">Apache Ant</a>.</p> + + <p>From this page, you can branch to the official documentation for + released versions:</p> + + <ul> + <li><a href="/releases/engine/velocity-1.3.1">Velocity 1.3.1</a></li> + <li><a href="/releases/engine/velocity-1.4">Velocity 1.4</a></li> + <li><a href="/releases/engine/velocity-1.5">Velocity 1.5</a></li> + </ul> + </section> + </body> +</document> diff --git a/xdocs/releases/tools/index.xml b/xdocs/releases/tools/index.xml new file mode 100644 index 0000000..1e0762e --- /dev/null +++ b/xdocs/releases/tools/index.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Velocity Tools</title> + <author email="[email protected]">Velocity Documentation + Team</author> + </properties> + + <body> + <section name="Velocity Tools"> + <p>Velocity Tools contains + tools and other useful infrastructure to build web- and non-web application using + Velocity. You will find e.g. code for + <a href="http://struts.apache.org/">Struts</a> integration or the + standalone Velocity View Servlet here.</p> + + <p>From this page, you can branch to the official documentation for + released versions:</p> + + <ul> + <li><a href="/releases/tools/velocity-tools-1.1">Velocity Tools 1.1</a></li> + <li><a href="/releases/tools/velocity-tools-1.2">Velocity Tools 1.2</a></li> + </ul> + </section> + </body> +</document> diff --git a/xdocs/stylesheets/maven-velocity.css b/xdocs/stylesheets/maven-velocity.css new file mode 100644 index 0000000..0ea284a --- /dev/null +++ b/xdocs/stylesheets/maven-velocity.css @@ -0,0 +1,127 @@ +body { + background-color: white; +} + +body, td, select, input, li{ + font-family: Helvetica, Times, Times New Roman, serif; + font-size: 12pt; +} + +pre, code{ + font-size: 10pt; +} + +#breadcrumbs a:link, #breadcrumbs a:visited, #breadcrumbs a:active, #breadcrumbs a:hover { + color: white; + text-decoration: none; +} + +a:link, a:visited, a:active, a:hover { + color: #525D76; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h1,h2 { + padding: 4px 4px 4px 6px; + border: none; + background-color: #525D76; + color: white; + font-size: 14pt; + font-weight: normal; +} +h3 { + padding: 4px 4px 4px 6px; + border: none; + background-color: #525D76; + color: white; + font-size: 13pt; + font-weight: normal; +} + +#breadcrumbs { + font-family: Arial, Verdana, Helvetica, sans-serif; + border: none; + background-color: #525D76; + color: white; +} + +#leftColumn { + font-family: Arial, Verdana, Helvetica, sans-serif; + margin: 10px 0 0 5px; + background-color: white; +} + +#leftColumn a { + text-decoration: none; +} + +#leftColumn li { + font-family: Arial, Verdana, Helvetica, sans-serif; +} + +#navcolumn h5 { + font-size: small; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 10pt; +} + +table.bodyTable th { + background-color: #039acc; + color: #000000; + vertical-align: top; + text-align:left; + border:1px #FFFFFF solid; + padding: 2px; +} + +table.bodyTable tr.a { + background-color: #a0ddf0; + color: #000000; + vertical-align: top; + text-align:left; + border:1px #FFFFFF solid; + padding: 2px; +} + +table.bodyTable tr.b { + background-color: #88c5d8; + color: #000000; + vertical-align: top; + text-align:left; + border:1px #FFFFFF solid; + padding: 2px; +} + +.source { + border: 1px solid #999; +} + +dt.question { + color: #900; + background-color: #eee; +}
