lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/indyo build.xml default.properties
Date Fri, 30 Aug 2002 17:56:01 GMT
kelvint     2002/08/30 10:56:01

  Added:       contributions/indyo build.xml default.properties
  Log:
  Initial import of build file and properties.
  
  Revision  Changes    Path
  1.1                  jakarta-lucene-sandbox/contributions/indyo/build.xml
  
  Index: build.xml
  ===================================================================
  <?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>  
  
  
  1.1                  jakarta-lucene-sandbox/contributions/indyo/default.properties
  
  Index: default.properties
  ===================================================================
  # -------------------------------------------------------------
  # 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
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message