You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2012/04/01 21:46:49 UTC
svn commit: r1308188 - in /lucene/dev/trunk:
dev-tools/idea/.idea/workspace.xml modules/benchmark/build.xml
Author: sarowe
Date: Sun Apr 1 19:46:49 2012
New Revision: 1308188
URL: http://svn.apache.org/viewvc?rev=1308188&view=rev
Log:
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.)
Modified:
lucene/dev/trunk/dev-tools/idea/.idea/workspace.xml
lucene/dev/trunk/modules/benchmark/build.xml
Modified: lucene/dev/trunk/dev-tools/idea/.idea/workspace.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/idea/.idea/workspace.xml?rev=1308188&r1=1308187&r2=1308188&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/idea/.idea/workspace.xml (original)
+++ lucene/dev/trunk/dev-tools/idea/.idea/workspace.xml Sun Apr 1 19:46:49 2012
@@ -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" />
Modified: lucene/dev/trunk/modules/benchmark/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/benchmark/build.xml?rev=1308188&r1=1308187&r2=1308188&view=diff
==============================================================================
--- lucene/dev/trunk/modules/benchmark/build.xml (original)
+++ lucene/dev/trunk/modules/benchmark/build.xml Sun Apr 1 19:46:49 2012
@@ -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>