mirror of https://github.com/apache/lucene.git
LUCENE-3561: Fix maven xxx-src.jar files that were missing resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198039 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
155775076f
commit
c0dcf29d55
|
@ -1,22 +1,22 @@
|
||||||
Lucene Build Instructions
|
Lucene Build Instructions
|
||||||
|
|
||||||
Basic steps:
|
Basic steps:
|
||||||
0) Install JDK 1.5 (or greater), Ant 1.7.x (not 1.6.x, not 1.8.x)
|
0) Install JDK 1.6 (or greater), Ant 1.7.1+ (not 1.6.x, not 1.8.x)
|
||||||
1) Download Lucene from Apache and unpack it
|
1) Download Lucene from Apache and unpack it
|
||||||
2) Connect to the top-level of your Lucene installation
|
2) Connect to the top-level of your Lucene installation
|
||||||
3) Install JavaCC (optional)
|
3) Install JavaCC (optional)
|
||||||
4) Run ant
|
4) Run ant
|
||||||
|
|
||||||
Step 0) Set up your development environment (JDK 1.5 or greater,
|
Step 0) Set up your development environment (JDK 1.6 or greater,
|
||||||
Ant 1.7.x)
|
Ant 1.7.1+)
|
||||||
|
|
||||||
We'll assume that you know how to get and set up the JDK - if you
|
We'll assume that you know how to get and set up the JDK - if you
|
||||||
don't, then we suggest starting at http://java.sun.com and learning
|
don't, then we suggest starting at http://java.sun.com and learning
|
||||||
more about Java, before returning to this README. Lucene runs with
|
more about Java, before returning to this README. Lucene runs with
|
||||||
JDK 1.5 and later.
|
JDK 1.6 and later.
|
||||||
|
|
||||||
Like many Open Source java projects, Lucene uses Apache Ant for build
|
Like many Open Source java projects, Lucene uses Apache Ant for build
|
||||||
control. Specifically, you MUST use Ant version 1.7.x
|
control. Specifically, you MUST use Ant version 1.7.1+
|
||||||
|
|
||||||
Ant is "kind of like make without make's wrinkles". Ant is
|
Ant is "kind of like make without make's wrinkles". Ant is
|
||||||
implemented in java and uses XML-based configuration files. You can
|
implemented in java and uses XML-based configuration files. You can
|
||||||
|
|
|
@ -759,6 +759,9 @@ Build
|
||||||
|
|
||||||
* SOLR-2849: Fix dependencies in Maven POMs. (David Smiley via Steve Rowe)
|
* SOLR-2849: Fix dependencies in Maven POMs. (David Smiley via Steve Rowe)
|
||||||
|
|
||||||
|
* LUCENE-3561: Fix maven xxx-src.jar files that were missing resources.
|
||||||
|
(Uwe Schindler)
|
||||||
|
|
||||||
======================= Lucene 3.4.0 =======================
|
======================= Lucene 3.4.0 =======================
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
|
|
|
@ -571,7 +571,9 @@
|
||||||
|
|
||||||
<target name="jar-test-framework-src" depends="init">
|
<target name="jar-test-framework-src" depends="init">
|
||||||
<jarify basedir="${tests-framework.src.dir}" destfile="${build.dir}/lucene-test-framework-${version}-src.jar"
|
<jarify basedir="${tests-framework.src.dir}" destfile="${build.dir}/lucene-test-framework-${version}-src.jar"
|
||||||
title="Lucene Search Engine: Test Framework" />
|
title="Lucene Search Engine: Test Framework">
|
||||||
|
<fileset dir="${tests-framework.src.dir}/../resources" erroronmissingdir="no"/>
|
||||||
|
</jarify>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Override common-build.xml definition to check for the jar already being up-to-date -->
|
<!-- Override common-build.xml definition to check for the jar already being up-to-date -->
|
||||||
|
|
|
@ -321,9 +321,8 @@
|
||||||
</compile>
|
</compile>
|
||||||
|
|
||||||
<!-- Copy the resources folder (if existent) -->
|
<!-- Copy the resources folder (if existent) -->
|
||||||
<copy todir="${build.dir}/classes/java" includeEmptyDirs="false">
|
<copy todir="${build.dir}/classes/java">
|
||||||
<globmapper from="resources/*" to="*" handledirsep="yes"/>
|
<fileset dir="${src.dir}/../resources" erroronmissingdir="no"/>
|
||||||
<fileset dir="${src.dir}/.." includes="resources/**"/>
|
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -474,10 +473,9 @@
|
||||||
<target name="compile-test-framework" depends="compile-core">
|
<target name="compile-test-framework" depends="compile-core">
|
||||||
<compile-test-macro srcdir="${tests-framework.src.dir}" destdir="${common.dir}/build/classes/test-framework"
|
<compile-test-macro srcdir="${tests-framework.src.dir}" destdir="${common.dir}/build/classes/test-framework"
|
||||||
test.classpath="test-framework.classpath"/>
|
test.classpath="test-framework.classpath"/>
|
||||||
<!-- Copy the resources folder (if existent) -->
|
<!-- Copy the resources folder (if existent) -->
|
||||||
<copy todir="${build.dir}/classes/test-framework" includeEmptyDirs="false">
|
<copy todir="${build.dir}/classes/test-framework">
|
||||||
<globmapper from="resources/*" to="*" handledirsep="yes"/>
|
<fileset dir="${src.dir}/../resources" erroronmissingdir="no"/>
|
||||||
<fileset dir="${tests-framework.src.dir}/.." includes="resources/**"/>
|
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -754,7 +752,9 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar-src" depends="init">
|
<target name="jar-src" depends="init">
|
||||||
<jarify basedir="${src.dir}" destfile="${build.dir}/${final.name}-src.jar"/>
|
<jarify basedir="${src.dir}" destfile="${build.dir}/${final.name}-src.jar">
|
||||||
|
<fileset dir="${src.dir}/../resources" erroronmissingdir="no"/>
|
||||||
|
</jarify>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="default" depends="jar-core"/>
|
<target name="default" depends="jar-core"/>
|
||||||
|
|
Loading…
Reference in New Issue