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
|
<!-- Give user a chance to override without editing this file
|
||||||
(and without typing -D each time it compiles it -->
|
(and without typing -D each time it compiles it -->
|
||||||
<property file="${user.home}/lucene.build.properties" />
|
<property file="${user.home}/lucene.build.properties"/>
|
||||||
<property file="${user.home}/build.properties" />
|
<property file="${user.home}/build.properties"/>
|
||||||
<property file="${basedir}/build.properties" />
|
<property file="${basedir}/build.properties"/>
|
||||||
<property file="${basedir}/default.properties" />
|
<property file="${basedir}/default.properties"/>
|
||||||
|
|
||||||
<property name="javacc.main.class" value="org.javacc.parser.Main"/>
|
<property name="javacc.main.class" value="org.javacc.parser.Main"/>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
<path id="classpath">
|
<path id="classpath">
|
||||||
<pathelement location="${build.classes}"/>
|
<pathelement location="${build.classes}"/>
|
||||||
<fileset dir="lib">
|
<fileset dir="lib">
|
||||||
<include name="*.jar" />
|
<include name="*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -30,17 +30,17 @@
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="junit.classpath">
|
<path id="junit.classpath">
|
||||||
<pathelement location="${build.test.classes}" />
|
<pathelement location="${build.test.classes}"/>
|
||||||
<pathelement location="${build.classes}"/>
|
<pathelement location="${build.classes}"/>
|
||||||
<fileset dir="lib">
|
<fileset dir="lib">
|
||||||
<include name="*.jar" />
|
<include name="*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<pathelement path="${java.class.path}" />
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="anakia.classpath">
|
<path id="anakia.classpath">
|
||||||
<fileset dir="${jakarta.site2.home}/lib">
|
<fileset dir="${jakarta.site2.home}/lib">
|
||||||
<include name="*.jar" />
|
<include name="*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -127,16 +127,16 @@
|
||||||
|
|
||||||
<!-- Create Jar MANIFEST file -->
|
<!-- Create Jar MANIFEST file -->
|
||||||
<echo file="${build.manifest}">Manifest-Version: 1.0
|
<echo file="${build.manifest}">Manifest-Version: 1.0
|
||||||
Created-By: Apache Jakarta
|
Created-By: Apache Jakarta
|
||||||
|
|
||||||
Name: org/apache/lucene
|
Name: org/apache/lucene
|
||||||
Specification-Title: Lucene Search Engine
|
Specification-Title: Lucene Search Engine
|
||||||
Specification-Version: ${version}
|
Specification-Version: ${version}
|
||||||
Specification-Vendor: Lucene
|
Specification-Vendor: Lucene
|
||||||
Implementation-Title: org.apache.lucene
|
Implementation-Title: org.apache.lucene
|
||||||
Implementation-Version: build ${DSTAMP} ${TSTAMP}
|
Implementation-Version: build ${DSTAMP} ${TSTAMP}
|
||||||
Implementation-Vendor: Lucene
|
Implementation-Vendor: Lucene
|
||||||
</echo>
|
</echo>
|
||||||
|
|
||||||
<jar
|
<jar
|
||||||
jarfile="${build.dir}/${final.name}.jar"
|
jarfile="${build.dir}/${final.name}.jar"
|
||||||
|
@ -204,7 +204,7 @@ Implementation-Vendor: Lucene
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<target name="demo" depends="compile">
|
<target name="demo" depends="compile">
|
||||||
<mkdir dir="${build.demo}"/>
|
<mkdir dir="${build.demo}"/>
|
||||||
<mkdir dir="${build.demo.src}" />
|
<mkdir dir="${build.demo.src}"/>
|
||||||
|
|
||||||
<copy todir="${build.demo.src}">
|
<copy todir="${build.demo.src}">
|
||||||
<fileset dir="${demo.src}">
|
<fileset dir="${demo.src}">
|
||||||
|
@ -249,15 +249,15 @@ Implementation-Vendor: Lucene
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<target name="test-unit" depends="compile,test" if="junit.present">
|
<target name="test-unit" depends="compile,test" if="junit.present">
|
||||||
<mkdir dir="${junit.reports}"/>
|
<mkdir dir="${junit.reports}"/>
|
||||||
<junit printsummary="off" haltonfailure="no" >
|
<junit printsummary="off" haltonfailure="no">
|
||||||
<classpath refid="junit.classpath"/>
|
<classpath refid="junit.classpath"/>
|
||||||
<formatter type="plain"/>
|
<formatter type="plain"/>
|
||||||
<formatter type="brief" usefile="false"/>
|
<formatter type="brief" usefile="false"/>
|
||||||
<batchtest fork="yes" todir="${junit.reports}" unless="testcase">
|
<batchtest fork="yes" todir="${junit.reports}" unless="testcase">
|
||||||
<fileset dir="${junit.src}" includes="**/Test*.java" />
|
<fileset dir="${junit.src}" includes="**/Test*.java"/>
|
||||||
</batchtest>
|
</batchtest>
|
||||||
<batchtest fork="yes" todir="${junit.reports}" if="testcase">
|
<batchtest fork="yes" todir="${junit.reports}" if="testcase">
|
||||||
<fileset dir="${junit.src}" includes="**/${testcase}.java" />
|
<fileset dir="${junit.src}" includes="**/${testcase}.java"/>
|
||||||
</batchtest>
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
</target>
|
</target>
|
||||||
|
@ -375,7 +375,7 @@ Implementation-Vendor: Lucene
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${dist.dir}">
|
<copy todir="${dist.dir}">
|
||||||
<fileset dir=".">
|
<fileset dir=".">
|
||||||
<include name="*.txt" />
|
<include name="*.txt"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy file="${build.dir}/${final.name}.jar" todir="${dist.dir}"/>
|
<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}/" file="default.properties"/>
|
||||||
<copy todir="${dist-src.dir}">
|
<copy todir="${dist-src.dir}">
|
||||||
<fileset dir=".">
|
<fileset dir=".">
|
||||||
<include name="*.txt" />
|
<include name="*.txt"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy file="${build.dir}/${final.name}-src.jar" todir="${dist-src.dir}"/>
|
<copy file="${build.dir}/${final.name}-src.jar" todir="${dist-src.dir}"/>
|
||||||
|
@ -558,7 +558,7 @@ Implementation-Vendor: Lucene
|
||||||
<!-- Build the DocWeb app -->
|
<!-- Build the DocWeb app -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<target name="docweb-init">
|
<target name="docweb-init">
|
||||||
<!-- <mkdir dir="${}"/> -->
|
<!-- <mkdir dir="${}"/> -->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in New Issue