mirror of https://github.com/apache/lucene.git
Initial import of build file and properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ef3d9ff37
commit
c67ef9db70
|
@ -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 &copy; ${year} Apache Software Foundation. All Rights Reserved."
|
||||
>
|
||||
<classpath refid="classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -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
|
Loading…
Reference in New Issue