IntelliJ configuration: enable IntelliJ .alg file copying to benchmark/build/classes/test/conf/ via a new Ant task 'copy-alg-files-for-testing', which is now also called by the benchmark module's compile-test target. (Standard IntelliJ configuration mechanisms don't support copying to a sub-directory of the test output directory.)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308188 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2012-04-01 19:46:49 +00:00
parent 7cc871d9f2
commit 0945a6521f
2 changed files with 9 additions and 5 deletions

View File

@ -17,6 +17,10 @@
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/modules/benchmark/build" />
<option name="VM_PARAMETERS" value="-ea -DtempDir=temp" />
<option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
<method>
<option name="AntTarget" enabled="true" target="copy-alg-files-for-testing"
antfile="file://$PROJECT_DIR$/modules/benchmark/build.xml" />
</method>
</configuration>
<configuration default="false" name="clustering contrib" type="JUnit" factoryName="JUnit">
<module name="clustering" />

View File

@ -265,10 +265,10 @@
/>
</target>
<target name="compile-test" depends="contrib-build.compile-test">
<!-- copy .alg files as resources for testing -->
<copy todir="${build.dir}/classes/test/conf">
<fileset dir="conf"/>
</copy>
<target name="compile-test" depends="copy-alg-files-for-testing,contrib-build.compile-test"/>
<target name="copy-alg-files-for-testing" description="copy .alg files as resources for testing">
<copy todir="${build.dir}/classes/test/conf">
<fileset dir="conf"/>
</copy>
</target>
</project>