You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/01/26 22:59:31 UTC
svn commit: r1063888 - in /lucene/dev/branches/branch_3x: ./ lucene/
lucene/build.xml lucene/common-build.xml solr/
Author: gsingers
Date: Wed Jan 26 21:59:30 2011
New Revision: 1063888
URL: http://svn.apache.org/viewvc?rev=1063888&view=rev
Log:
LUCENE-2609: distribute the core tests, as they can be useful downstream to people
Modified:
lucene/dev/branches/branch_3x/ (props changed)
lucene/dev/branches/branch_3x/lucene/ (props changed)
lucene/dev/branches/branch_3x/lucene/build.xml
lucene/dev/branches/branch_3x/lucene/common-build.xml
lucene/dev/branches/branch_3x/solr/ (props changed)
Modified: lucene/dev/branches/branch_3x/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/build.xml?rev=1063888&r1=1063887&r2=1063888&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/build.xml (original)
+++ lucene/dev/branches/branch_3x/lucene/build.xml Wed Jan 26 21:59:30 2011
@@ -53,7 +53,7 @@
excludes="contrib/db/*/lib/,contrib/*/ext-libs/,src/site/build/,contrib/benchmark/temp/,contrib/benchmark/work/"
/>
<patternset id="binary.build.dist.patterns"
- includes="${final.name}.jar,docs/,contrib/*/*.jar,contrib/*/*.war, contrib/*/*/*.jar"
+ includes="${final.name}*.jar,docs/,contrib/*/*.jar,contrib/*/*.war, contrib/*/*/*.jar"
/>
<patternset id="binary.root.dist.patterns"
includes="docs/,*.txt,contrib/*/README*,**/CHANGES.txt"
@@ -272,7 +272,7 @@
<!-- ================================================================== -->
<!-- -->
<!-- ================================================================== -->
- <target name="package" depends="jar-core, javadocs, build-contrib, init-dist, changes-to-html"/>
+ <target name="package" depends="jar-core, jar-core-test, javadocs, build-contrib, init-dist, changes-to-html"/>
<target name="nightly" depends="test, package-tgz">
</target>
@@ -414,6 +414,8 @@
classifier="sources"/>
<attach file="${build.dir}/${final.name}-javadoc.jar"
classifier="javadoc"/>
+ <attach file="${build.dir}/${final.name}-tests.jar"
+ classifier="tests"/>
</artifact-attachments>
</m2-deploy>
<contrib-crawl target="dist-maven"/>
Modified: lucene/dev/branches/branch_3x/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/common-build.xml?rev=1063888&r1=1063887&r2=1063888&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/common-build.xml (original)
+++ lucene/dev/branches/branch_3x/lucene/common-build.xml Wed Jan 26 21:59:30 2011
@@ -302,6 +302,10 @@
<jarify/>
</target>
+ <target name="jar-core-test" depends="compile-test">
+ <jarify basedir="${build.dir}/classes/test" destfile="${build.dir}/${final.name}-tests.jar"/>
+ </target>
+
<target name="maven.ant.tasks-check">
<fail unless="maven.ant.tasks.present">
##################################################################