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 2013/09/20 07:37:27 UTC

svn commit: r1524906 - /lucene/dev/trunk/build.xml

Author: sarowe
Date: Fri Sep 20 05:37:26 2013
New Revision: 1524906

URL: http://svn.apache.org/r1524906
Log:
Intellij config: JDK setup: look for ${idea.jdk} property in the local lucene/build.properties first, before looking in the files under ${user.home}

Modified:
    lucene/dev/trunk/build.xml

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1524906&r1=1524905&r2=1524906&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Fri Sep 20 05:37:26 2013
@@ -237,13 +237,13 @@
 
   <target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration">
     <!-- Look for property definition for ${idea.jdk} in various *build.properties files -->
+    <property file="lucene/build.properties"/>    <!-- Look in the current project first -->
     <property file="${user.home}/lucene.build.properties"/>
     <property file="${user.home}/build.properties"/>
-    <property file="lucene/build.properties"/>
     <condition property="idea.jdk.is.set">
       <isset property="idea.jdk"/>
     </condition>
-    <!-- Define ${idea.jdk} if it's not in any *build.properties file -->
+    <!-- Define ${idea.jdk} if it's not yet defined - otherwise literal "${idea.jdk}" is substituted -->
     <property name="idea.jdk" value=""/>
     <copy todir=".">
       <fileset dir="dev-tools/idea"/>