Skip to content

Apache Lucene open-source search software

LUCENE-4975: replicator module: IntelliJ configuration

Steven Rowe7630d6b7e685
diff --git a/dev-tools/idea/.idea/ant.xml b/dev-tools/idea/.idea/ant.xml
index 172ed08624f..e56b8b896b9 100644
--- a/dev-tools/idea/.idea/ant.xml
+++ b/dev-tools/idea/.idea/ant.xml
@@ -27,6 +27,7 @@
<buildFile url="file://$PROJECT_DIR$/lucene/misc/build.xml" />
<buildFile url="file://$PROJECT_DIR$/lucene/queries/build.xml" />
<buildFile url="file://$PROJECT_DIR$/lucene/queryparser/build.xml" />
+ <buildFile url="file://$PROJECT_DIR$/lucene/replicator/build.xml" />
<buildFile url="file://$PROJECT_DIR$/lucene/sandbox/build.xml" />
<buildFile url="file://$PROJECT_DIR$/lucene/spatial/build.xml" />
<buildFile url="file://$PROJECT_DIR$/lucene/suggest/build.xml" />
diff --git a/dev-tools/idea/.idea/modules.xml b/dev-tools/idea/.idea/modules.xml
index d3c0bc71d5f..78e827f0a5a 100644
--- a/dev-tools/idea/.idea/modules.xml
+++ b/dev-tools/idea/.idea/modules.xml
@@ -31,6 +31,7 @@
<module filepath="$PROJECT_DIR$/lucene/misc/misc.iml" />
<module filepath="$PROJECT_DIR$/lucene/queries/queries.iml" />
<module filepath="$PROJECT_DIR$/lucene/queryparser/queryparser.iml" />
+ <module filepath="$PROJECT_DIR$/lucene/replicator/replicator.iml" />
<module filepath="$PROJECT_DIR$/lucene/sandbox/sandbox.iml" />
<module filepath="$PROJECT_DIR$/lucene/spatial/spatial.iml" />
<module filepath="$PROJECT_DIR$/lucene/suggest/suggest.iml" />
diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml
index 579bdb4ade0..fda79be8378 100644
--- a/dev-tools/idea/.idea/workspace.xml
+++ b/dev-tools/idea/.idea/workspace.xml
@@ -144,6 +144,13 @@
<option name="VM_PARAMETERS" value="-ea -DtempDir=temp" />
<option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
</configuration>
+ <configuration default="false" name="Module replicator" type="JUnit" factoryName="JUnit">
+ <module name="replicator" />
+ <option name="TEST_OBJECT" value="package" />
+ <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/idea-build/lucene/replicator" />
+ <option name="VM_PARAMETERS" value="-ea -DtempDir=temp" />
+ <option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
+ </configuration>
<configuration default="false" name="Module sandbox" type="JUnit" factoryName="JUnit">
<module name="sandbox" />
<option name="TEST_OBJECT" value="package" />
@@ -235,7 +242,7 @@
<option name="VM_PARAMETERS" value="-ea" />
<option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
</configuration>
- <list size="33">
+ <list size="34">
<item index="0" class="java.lang.String" itemvalue="JUnit.Lucene core" />
<item index="1" class="java.lang.String" itemvalue="JUnit.Module analyzers-common" />
<item index="2" class="java.lang.String" itemvalue="JUnit.Module analyzers-icu" />
@@ -256,19 +263,20 @@
<item index="17" class="java.lang.String" itemvalue="JUnit.Module misc" />
<item index="18" class="java.lang.String" itemvalue="JUnit.Module queries" />
<item index="19" class="java.lang.String" itemvalue="JUnit.Module queryparser" />
- <item index="20" class="java.lang.String" itemvalue="JUnit.Module sandbox" />
- <item index="21" class="java.lang.String" itemvalue="JUnit.Module spatial" />
- <item index="22" class="java.lang.String" itemvalue="JUnit.Module suggest" />
- <item index="23" class="java.lang.String" itemvalue="JUnit.Solr core" />
- <item index="24" class="java.lang.String" itemvalue="JUnit.Solr analysis-extras contrib" />
- <item index="25" class="java.lang.String" itemvalue="JUnit.Solr clustering contrib" />
- <item index="26" class="java.lang.String" itemvalue="JUnit.Solr dataimporthandler contrib" />
- <item index="27" class="java.lang.String" itemvalue="JUnit.Solr dataimporthandler-extras contrib" />
- <item index="28" class="java.lang.String" itemvalue="JUnit.Solr extraction contrib" />
- <item index="29" class="java.lang.String" itemvalue="JUnit.Solr langid contrib" />
- <item index="30" class="java.lang.String" itemvalue="JUnit.Solr uima contrib" />
- <item index="31" class="java.lang.String" itemvalue="JUnit.Solr velocity contrib" />
- <item index="32" class="java.lang.String" itemvalue="JUnit.Solrj" />
+ <item index="20" class="java.lang.String" itemvalue="JUnit.Module replicator" />
+ <item index="21" class="java.lang.String" itemvalue="JUnit.Module sandbox" />
+ <item index="22" class="java.lang.String" itemvalue="JUnit.Module spatial" />
+ <item index="23" class="java.lang.String" itemvalue="JUnit.Module suggest" />
+ <item index="24" class="java.lang.String" itemvalue="JUnit.Solr core" />
+ <item index="25" class="java.lang.String" itemvalue="JUnit.Solr analysis-extras contrib" />
+ <item index="26" class="java.lang.String" itemvalue="JUnit.Solr clustering contrib" />
+ <item index="27" class="java.lang.String" itemvalue="JUnit.Solr dataimporthandler contrib" />
+ <item index="28" class="java.lang.String" itemvalue="JUnit.Solr dataimporthandler-extras contrib" />
+ <item index="29" class="java.lang.String" itemvalue="JUnit.Solr extraction contrib" />
+ <item index="30" class="java.lang.String" itemvalue="JUnit.Solr langid contrib" />
+ <item index="31" class="java.lang.String" itemvalue="JUnit.Solr uima contrib" />
+ <item index="32" class="java.lang.String" itemvalue="JUnit.Solr velocity contrib" />
+ <item index="33" class="java.lang.String" itemvalue="JUnit.Solrj" />
</list>
</component>
</project>
diff --git a/dev-tools/idea/lucene/replicator/replicator.iml b/dev-tools/idea/lucene/replicator/replicator.iml
new file mode 100644
index 00000000000..49222250875
--- /dev/null
+++ b/dev-tools/idea/lucene/replicator/replicator.iml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/../../idea-build/lucene/replicator/classes/java" />
+ <output-test url="file://$MODULE_DIR$/../../idea-build/lucene/replicator/classes/test" />
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="file://$MODULE_DIR$/lib" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ <jarDirectory url="file://$MODULE_DIR$/lib" recursive="false" />
+ </library>
+ </orderEntry>
+ <orderEntry type="library" scope="TEST" name="JUnit" level="project" />
+ <orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />
+ <orderEntry type="module" module-name="lucene-core" />
+ <orderEntry type="module" module-name="facet" />
+ </component>
+</module>
diff --git a/lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java b/lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java
index 704578a0677..320e71cd926 100755
--- a/lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java
+++ b/lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java
@@ -30,7 +30,7 @@ import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.junit.AfterClass;
@SuppressCodecs("Lucene3x")
-public class ReplicatorTestCase extends LuceneTestCase {
+public abstract class ReplicatorTestCase extends LuceneTestCase {
private static final int BASE_PORT = 7000;