Skip to content

Apache Lucene open-source search software

Initial import of build file and properties.

Kelvin Tanc67ef9db705c
diff --git a/sandbox/contributions/indyo/build.xml b/sandbox/contributions/indyo/build.xml
new file mode 100644
index 00000000000..7cb4cc8bb67
--- /dev/null
+++ b/sandbox/contributions/indyo/build.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+
+<project name="Indyo" default="jar" basedir=".">
+
+ <!-- Give user a chance to override without editing this file
+ (and without typing -D each time it compiles it -->
+ <property file="${user.home}/build.properties" />
+ <property file="${basedir}/build.properties" />
+ <property file="${basedir}/default.properties" />
+
+ <!-- Build classpath -->
+ <path id="classpath">
+ <pathelement location="${build.classes}"/>
+ <pathelement location="."/>
+ <fileset dir="lib">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <!-- ================================================================== -->
+ <!-- Prepares the build directory -->
+ <!-- ================================================================== -->
+ <target name="init">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${build.classes}"/>
+ <mkdir dir="${build.src}"/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- C O M P I L E -->
+ <!-- ================================================================== -->
+ <!-- -->
+ <!-- ================================================================== -->
+ <target name="compile" depends="init">
+
+ <javac
+ srcdir="${src.dir}:${build.src}"
+ destdir="${build.classes}"
+ debug="${debug}">
+ <classpath refid="classpath"/>
+ </javac>
+
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- J A R -->
+ <!-- ================================================================== -->
+ <!-- -->
+ <!-- ================================================================== -->
+ <target name="jar" depends="compile">
+ <jar
+ jarfile="${build.dir}/${final.name}.jar"
+ basedir="${build.classes}"
+ excludes="**/*.java"
+ />
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- J A V A D O C -->
+ <!-- ================================================================== -->
+ <!-- -->
+ <!-- ================================================================== -->
+ <target name="javadocs" depends="compile">
+ <mkdir dir="${build.javadocs}"/>
+ <javadoc
+ sourcepath="${src.dir}:${build.src}"
+ overview="${src.dir}/overview.html"
+ packagenames="${packages}"
+ destdir="${build.javadocs}"
+ author="true"
+ version="true"
+ use="true"
+ link="${javadoc.link}"
+ windowtitle="${Name} ${version} API"
+ doctitle="${Name} ${version} API"
+ bottom="Copyright &amp;copy; ${year} Apache Software Foundation. All Rights Reserved."
+ >
+ <classpath refid="classpath"/>
+ </javadoc>
+ </target>
+
+</project>
\ No newline at end of file
diff --git a/sandbox/contributions/indyo/default.properties b/sandbox/contributions/indyo/default.properties
new file mode 100644
index 00000000000..a623f04cb5c
--- /dev/null
+++ b/sandbox/contributions/indyo/default.properties
@@ -0,0 +1,43 @@
+# -------------------------------------------------------------
+# D E F A U L T I N D Y O B U I L D P R O P E R T I E S
+# -------------------------------------------------------------
+#
+# DO NOT EDIT THIS FILE IN ORDER TO CUSTOMIZE BUILD PROPERTIES.
+# CREATE AND EDIT build.properties FILE INSTEAD.
+#
+name=indyo
+Name=Indyo
+version=0.1-dev
+year=2000-2002
+final.name=${name}-${version}
+debug=off
+
+project.name = site
+docs.src = ./xdocs
+docs.dest = ./docs
+
+src.dir = ./src/java
+demo.src = ./src/demo
+demo.jsp = ./src/jsp
+docs.dir = ./docs
+lib.dir = ./lib
+dist.dir=${final.name}
+dist-src.dir = ${final.name}-src
+
+# javadoc packages
+packages=com.relevanz.indyo.*
+
+# javadoc link
+javadoc.link=http://java.sun.com/j2se/1.3/docs/api/
+
+build.compiler.pedantic=false
+
+build.dir = ./bin
+build.classes = ${build.dir}/classes
+build.lib = ${build.dir}/lib
+build.javadocs = ${build.dir}/docs/api
+build.src = ${build.dir}/src
+build.encoding = ISO-8859-1
+
+# Home directory of jakarta-site2
+jakarta.site2.home = ../jakarta-site2