You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eh...@apache.org on 2004/01/05 08:08:30 UTC

cvs commit: jakarta-lucene-sandbox/contributions/indyo build-broken.xml build.xml

ehatcher    2004/01/04 23:08:30

  Added:       contributions/indyo build-broken.xml
  Removed:     contributions/indyo build.xml
  Log:
  build file is broken, renaming out of the way
  
  Revision  Changes    Path
  1.1                  jakarta-lucene-sandbox/contributions/indyo/build-broken.xml
  
  Index: build-broken.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>  
  
  

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