Make sure, Jenkins/Hudson can compile Solr Contrib classes+tests with Java 5, without running tests

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136792 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2011-06-17 07:28:37 +00:00
parent 1e3aa5cee4
commit 4e46774b9b
2 changed files with 8 additions and 2 deletions

View File

@ -530,6 +530,10 @@
<contrib-crawl target="test" failonerror="true"/>
</target>
<target name="compile-test-contrib" depends="build-contrib">
<contrib-crawl target="compileTests" failonerror="true"/>
</target>
<target name="dist-contrib" description="Make the contribs ready for distribution">
<contrib-crawl target="dist" failonerror="true" />
</target>

View File

@ -118,7 +118,9 @@
manifest="../../${dest}/META-INF/MANIFEST.MF" />
</target>
<target name="compileTests" depends="compile">
<target name="compileTests" depends="compileCoreTests,compileExtrasTests"/>
<target name="compileCoreTests" depends="compile">
<solr-javac destdir="target/test-classes"
classpathref="test.classpath">
<src path="src/test/java" />
@ -143,7 +145,7 @@
<property name="tempDir" value="${junit.output.dir}/temp" />
<target name="test" depends="testCore,testExtras"/>
<target name="testCore" depends="compileTests">
<target name="testCore" depends="compileCoreTests">
<mkdir dir="${junit.output.dir}"/>
<!-- <mkdir dir="@{tempDir}/@{pattern}"/>
This is very loud and obnoxious. abuse touch instead for a "quiet" mkdir