Skip to content

Apache Lucene open-source search software

Added anakia documentation.

Doug Cutting2cd31cd326ba
diff --git a/sandbox/contributions/snowball/build.xml b/sandbox/contributions/snowball/build.xml
index 6b48df11572..0f6ac3b9ee6 100644
--- a/sandbox/contributions/snowball/build.xml
+++ b/sandbox/contributions/snowball/build.xml
@@ -22,6 +22,11 @@
<path refid="classpath"/>
</path>
+ <path id="anakia.classpath">
+ <fileset dir="${jakarta.site2.home}/lib">
+ <include name="*.jar" />
+ </fileset>
+ </path>
<!-- ====================================================== -->
<!-- Stuff needed by all targets -->
@@ -146,6 +151,28 @@
</javadoc>
</target>
+ <target name="docs">
+ <taskdef
+ name="anakia"
+ classname="org.apache.velocity.anakia.AnakiaTask"
+ >
+ <classpath refid="anakia.classpath"/>
+ </taskdef>
+
+ <anakia
+ basedir="${docs.src}"
+ destdir="${docs.dest}/"
+ extension=".html" style="./site.vsl"
+ projectFile="stylesheets/project.xml"
+ excludes="**/stylesheets/** empty.xml"
+ includes="**/*.xml"
+ lastModifiedCheck="true"
+ templatePath="${jakarta.site2.home}/xdocs/stylesheets"
+ >
+ </anakia>
+
+ </target>
+
<!-- ================================================================== -->
<!-- D I S T R I B U T I O N -->
<!-- ================================================================== -->
@@ -161,6 +188,10 @@
<fileset dir="${build.javadoc}"/>
</copy>
+ <copy todir="${dist.dir}/docs">
+ <fileset dir="${docs.dest}/"/>
+ </copy>
+
<copy todir="${dist.dir}">
<fileset dir=".">
<include name="*.txt" />
diff --git a/sandbox/contributions/snowball/default.properties b/sandbox/contributions/snowball/default.properties
index 0bede589996..455c7fd13c1 100644
--- a/sandbox/contributions/snowball/default.properties
+++ b/sandbox/contributions/snowball/default.properties
@@ -32,3 +32,9 @@ snowball.root=snowball/website
debug=on
optimize=on
deprecation=on
+
+# Home directory of jakarta-site2
+jakarta.site2.home = ../../../jakarta-site2
+project.name = site
+docs.src = ./xdocs
+docs.dest = ./docs
diff --git a/sandbox/contributions/snowball/docs/index.html b/sandbox/contributions/snowball/docs/index.html
new file mode 100644
index 00000000000..cc481118269
--- /dev/null
+++ b/sandbox/contributions/snowball/docs/index.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<!-- Content Stylesheet for Site -->
+
+
+<!-- start the processing -->
+ <!-- ====================================================================== -->
+ <!-- Main Page Section -->
+ <!-- ====================================================================== -->
+ <html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+ <meta name="author" value="Doug Cutting">
+ <meta name="email" value="[email protected]">
+
+
+
+ <title>Snowball Stemmers for Lucene - Overview - Snowball Stemmers for Lucene</title>
+ </head>
+
+ <body bgcolor="#ffffff" text="#000000" link="#525D76">
+ <table border="0" width="100%" cellspacing="0">
+ <!-- TOP IMAGE -->
+ <tr>
+ <td colspan="2">
+<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
+</td>
+ </tr>
+ </table>
+ <table border="0" width="100%" cellspacing="4">
+ <tr><td colspan="2">
+ <hr noshade="" size="1"/>
+ </td></tr>
+
+ <tr>
+ <!-- LEFT SIDE NAVIGATION -->
+ <td width="20%" valign="top" nowrap="true">
+ <p><strong>Documentation</strong></p>
+ <ul>
+ <li> <a href="./api/index.html">Javadoc</a>
+</li>
+ </ul>
+ <p><strong>Download</strong></p>
+ <ul>
+ <li> <a href="http://jakarta.apache.org/builds/jakarta-lucene-sandbox/snowball/">Releases</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repository</a>
+</li>
+ </ul>
+ <p><strong>Links</strong></p>
+ <ul>
+ <li> <a href="http://snowball.tartarus.org/">Snowball Home</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/lucene/">Lucene Home</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/lucene/docs/lucene-sandbox/">Lucene Sandbox</a>
+</li>
+ </ul>
+ <p><strong>Jakarta</strong></p>
+ <ul>
+ <li> <a href="http://jakarta.apache.org/site/getinvolved.html">Get Involved</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/site/acknowledgements.html">Acknowledgements</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/site/contact.html">Contact</a>
+</li>
+ <li> <a href="http://jakarta.apache.org/site/legal.html">Legal</a>
+</li>
+ </ul>
+ </td>
+ <td width="80%" align="left" valign="top">
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Snowball Stemmers for Lucene"><strong>Snowball Stemmers for Lucene</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+This project provides pre-compiled version of the Snowball stemmers
+together with classes integrating them with the Lucene search engine.
+</p>
+ </blockquote>
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Download"><strong>Download</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+Releases of the stemmers are available
+<a href="http://jakarta.apache.org/builds/jakarta-lucene-sandbox/snowball/">
+here</a>
+</p>
+ </blockquote>
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+ </td>
+ </tr>
+
+ <!-- FOOTER -->
+ <tr><td colspan="2">
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td colspan="2">
+ <div align="center"><font color="#525D76" size="-1"><em>
+ Copyright &#169; 1999-2002, Apache Software Foundation
+ </em></font></div>
+ </td></tr>
+ </table>
+ </body>
+ </html>
+<!-- end the processing -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sandbox/contributions/snowball/xdocs/index.xml b/sandbox/contributions/snowball/xdocs/index.xml
new file mode 100644
index 00000000000..e72ffe49331
--- /dev/null
+++ b/sandbox/contributions/snowball/xdocs/index.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<document>
+<properties>
+<author email="[email protected]">Doug Cutting</author>
+<title>Overview - Snowball Stemmers for Lucene</title>
+</properties>
+<body>
+
+<section name="Snowball Stemmers for Lucene">
+<p>
+This project provides pre-compiled version of the Snowball stemmers
+together with classes integrating them with the Lucene search engine.
+</p>
+</section>
+
+<section name="Download">
+<p>
+Releases of the stemmers are available
+<a href="http://jakarta.apache.org/builds/jakarta-lucene-sandbox/snowball/">
+here</a>
+</p>
+</section>
+
+</body>
+</document>
+
diff --git a/sandbox/contributions/snowball/xdocs/stylesheets/project.xml b/sandbox/contributions/snowball/xdocs/stylesheets/project.xml
new file mode 100644
index 00000000000..d55ef7cc14f
--- /dev/null
+++ b/sandbox/contributions/snowball/xdocs/stylesheets/project.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="Snowball Stemers for Lucene"
+ href="http://jakarta.apache.org/lucene-sandbox/snowball/">
+
+ <title>Snowball Stemmers for Lucene</title>
+
+ <body>
+ <menu name="Documentation">
+ <item name="Javadoc" href="/api/index.html"/>
+ </menu>
+
+ <menu name="Download">
+ <item name="Releases"
+ href="http://jakarta.apache.org/builds/jakarta-lucene-sandbox/snowball/"/>
+ <item name="CVS Repository" href="/site/cvsindex.html"/>
+ </menu>
+
+ <menu name="Links">
+ <item name="Snowball Home" href="http://snowball.tartarus.org/"/>
+ <item name="Lucene Home" href="http://jakarta.apache.org/lucene/"/>
+ <item name="Lucene Sandbox"
+ href="http://jakarta.apache.org/lucene/docs/lucene-sandbox/"/>
+ </menu>
+
+ <menu name="Jakarta">
+ <item name="Get Involved" href="/site/getinvolved.html"/>
+ <item name="Acknowledgements" href="/site/acknowledgements.html"/>
+ <item name="Contact" href="/site/contact.html"/>
+ <item name="Legal" href="/site/legal.html"/>
+ </menu>
+ </body>
+</project>