Make compile-test under solr/ compile all tests, including contribs'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-07-28 13:15:59 +00:00
parent 7221c4cee5
commit 82c282d451
2 changed files with 5 additions and 2 deletions

View File

@ -129,11 +129,11 @@
<target name="compile" description="Compile the source code."
depends="compile-core, compile-contrib"/>
<target name="test" description="Validate, then run core, solrj, and contrib unit tests."
depends="validate-solr, test-core, test-jsp, test-contrib"/>
depends="validate-solr, test-core, test-contrib"/>
<target name="test-core" description="Runs the core and solrj unit tests."
depends="test-solr-core, test-solrj"/>
<target name="compile-test" description="Compile unit tests."
depends="compile-solr-test-framework, compile-test-solr-core, compile-test-solrj"/>
depends="compile-solr-test-framework, compile-test-solr-core, compile-test-solrj, compile-test-contrib, test-jsp"/>
<target name="javadocs" description="Calls javadocs-all" depends="javadocs-all"/>
<target name="compile-core" depends="compile-solr-core" unless="solr.core.compiled"/>

View File

@ -294,6 +294,9 @@
<target name="compile-contrib" description="Compile contrib modules">
<contrib-crawl target="compile-core"/>
</target>
<target name="compile-test-contrib" description="Compile contrib modules' tests">
<contrib-crawl target="compile-test"/>
</target>
<target name="contribs-add-to-war">
<mkdir dir="${dest}/web"/>