Apache Lucene open-source search software
Intellij config: pick up JDK definition from build.properties file under lucene/ or in home dir, and use it to populate config, so that updating doesnt have to involve manually setting the JDK. Example line from my lucene/build.properties: idea.jdk=project-jdk-name="1.7" project-jdk-type="JavaSDK"
Steven Rowe872c02c31cf9
diff --git a/build.xml b/build.xmlindex a660e87c051..b74b66a5707 100644--- a/build.xml+++ b/build.xml@@ -236,8 +236,16 @@</target><target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration">+ <!-- Look for property definition for ${idea.jdk} in various *build.properties files -->+ <property file="${user.home}/lucene.build.properties"/>+ <property file="${user.home}/build.properties"/>+ <property file="lucene/build.properties"/>+ <property name="idea.jdk" value=""/> <!-- Define ${idea.jdk} if it's not in any *build.properties file --><copy todir="."><fileset dir="dev-tools/idea"/>+ <filterset begintoken="@" endtoken="@">+ <filter token="idea.jdk" value="${idea.jdk}"/>+ </filterset></copy><echo>To complete IntelliJ IDEA setup, you must manually configure