mirror of https://github.com/apache/lucene.git
Cosmetic - reformatted. I'm embarking on some
refactorings to accomodate a snazzy new demo app and wanted to get indentation cleanup committed in one commit so the later meatier commits won't have whitespace diffs also. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bfafa1b216
commit
0b605a3b8f
50
build.xml
50
build.xml
|
@ -4,10 +4,10 @@
|
|||
|
||||
<!-- Give user a chance to override without editing this file
|
||||
(and without typing -D each time it compiles it -->
|
||||
<property file="${user.home}/lucene.build.properties" />
|
||||
<property file="${user.home}/build.properties" />
|
||||
<property file="${basedir}/build.properties" />
|
||||
<property file="${basedir}/default.properties" />
|
||||
<property file="${user.home}/lucene.build.properties"/>
|
||||
<property file="${user.home}/build.properties"/>
|
||||
<property file="${basedir}/build.properties"/>
|
||||
<property file="${basedir}/default.properties"/>
|
||||
|
||||
<property name="javacc.main.class" value="org.javacc.parser.Main"/>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
<path id="classpath">
|
||||
<pathelement location="${build.classes}"/>
|
||||
<fileset dir="lib">
|
||||
<include name="*.jar" />
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
|
@ -30,17 +30,17 @@
|
|||
</path>
|
||||
|
||||
<path id="junit.classpath">
|
||||
<pathelement location="${build.test.classes}" />
|
||||
<pathelement location="${build.test.classes}"/>
|
||||
<pathelement location="${build.classes}"/>
|
||||
<fileset dir="lib">
|
||||
<include name="*.jar" />
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
<pathelement path="${java.class.path}" />
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</path>
|
||||
|
||||
<path id="anakia.classpath">
|
||||
<fileset dir="${jakarta.site2.home}/lib">
|
||||
<include name="*.jar" />
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
|
@ -127,16 +127,16 @@
|
|||
|
||||
<!-- Create Jar MANIFEST file -->
|
||||
<echo file="${build.manifest}">Manifest-Version: 1.0
|
||||
Created-By: Apache Jakarta
|
||||
Created-By: Apache Jakarta
|
||||
|
||||
Name: org/apache/lucene
|
||||
Specification-Title: Lucene Search Engine
|
||||
Specification-Version: ${version}
|
||||
Specification-Vendor: Lucene
|
||||
Implementation-Title: org.apache.lucene
|
||||
Implementation-Version: build ${DSTAMP} ${TSTAMP}
|
||||
Implementation-Vendor: Lucene
|
||||
</echo>
|
||||
Name: org/apache/lucene
|
||||
Specification-Title: Lucene Search Engine
|
||||
Specification-Version: ${version}
|
||||
Specification-Vendor: Lucene
|
||||
Implementation-Title: org.apache.lucene
|
||||
Implementation-Version: build ${DSTAMP} ${TSTAMP}
|
||||
Implementation-Vendor: Lucene
|
||||
</echo>
|
||||
|
||||
<jar
|
||||
jarfile="${build.dir}/${final.name}.jar"
|
||||
|
@ -204,7 +204,7 @@ Implementation-Vendor: Lucene
|
|||
<!-- ================================================================== -->
|
||||
<target name="demo" depends="compile">
|
||||
<mkdir dir="${build.demo}"/>
|
||||
<mkdir dir="${build.demo.src}" />
|
||||
<mkdir dir="${build.demo.src}"/>
|
||||
|
||||
<copy todir="${build.demo.src}">
|
||||
<fileset dir="${demo.src}">
|
||||
|
@ -249,15 +249,15 @@ Implementation-Vendor: Lucene
|
|||
<!-- ================================================================== -->
|
||||
<target name="test-unit" depends="compile,test" if="junit.present">
|
||||
<mkdir dir="${junit.reports}"/>
|
||||
<junit printsummary="off" haltonfailure="no" >
|
||||
<junit printsummary="off" haltonfailure="no">
|
||||
<classpath refid="junit.classpath"/>
|
||||
<formatter type="plain"/>
|
||||
<formatter type="brief" usefile="false"/>
|
||||
<batchtest fork="yes" todir="${junit.reports}" unless="testcase">
|
||||
<fileset dir="${junit.src}" includes="**/Test*.java" />
|
||||
<fileset dir="${junit.src}" includes="**/Test*.java"/>
|
||||
</batchtest>
|
||||
<batchtest fork="yes" todir="${junit.reports}" if="testcase">
|
||||
<fileset dir="${junit.src}" includes="**/${testcase}.java" />
|
||||
<fileset dir="${junit.src}" includes="**/${testcase}.java"/>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
@ -375,7 +375,7 @@ Implementation-Vendor: Lucene
|
|||
</copy>
|
||||
<copy todir="${dist.dir}">
|
||||
<fileset dir=".">
|
||||
<include name="*.txt" />
|
||||
<include name="*.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="${build.dir}/${final.name}.jar" todir="${dist.dir}"/>
|
||||
|
@ -457,7 +457,7 @@ Implementation-Vendor: Lucene
|
|||
<copy todir="${dist-src.dir}/" file="default.properties"/>
|
||||
<copy todir="${dist-src.dir}">
|
||||
<fileset dir=".">
|
||||
<include name="*.txt" />
|
||||
<include name="*.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="${build.dir}/${final.name}-src.jar" todir="${dist-src.dir}"/>
|
||||
|
@ -558,7 +558,7 @@ Implementation-Vendor: Lucene
|
|||
<!-- Build the DocWeb app -->
|
||||
<!-- ================================================================== -->
|
||||
<target name="docweb-init">
|
||||
<!-- <mkdir dir="${}"/> -->
|
||||
<!-- <mkdir dir="${}"/> -->
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue