Skip to content

Apache Lucene open-source search software

LUCENE-3128: ant eclipse creates a .project for Eclipse integration

Shai Erera03df5817eae4
diff --git a/build.xml b/build.xml
index 679953b395f..bafb558aad6 100644
--- a/build.xml
+++ b/build.xml
@@ -73,6 +73,7 @@
</target>
<target name="eclipse" description="Setup Eclipse configuration">
+ <copy file="dev-tools/eclipse/dot.project" tofile=".project" overwrite="false"/>
<copy file="dev-tools/eclipse/dot.classpath" tofile=".classpath" overwrite="true"/>
<mkdir dir=".settings"/>
<copy file="dev-tools/eclipse/resources.prefs"
diff --git a/dev-tools/eclipse/dot.project b/dev-tools/eclipse/dot.project
new file mode 100644
index 00000000000..de6b15e7c2e
--- /dev/null
+++ b/dev-tools/eclipse/dot.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lucene_solr</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index fb93517b96d..24ca9a3c784 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -545,6 +545,9 @@ Build
* LUCENE-3006: Building javadocs will fail on warnings by default.
Override with -Dfailonjavadocwarning=false (sarowe, gsingers)
+* LUCENE-3128: "ant eclipse" creates a .project file for easier Eclipse
+ integration (unless one already exists). (Daniel Serodio via Shai Erera)
+
Test Cases
* LUCENE-3002: added 'tests.iter.min' to control 'tests.iter' by allowing to