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

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2013-09-20 05:37:26 +00:00
parent c9dc2be5ff
commit edb6a62d3d
1 changed files with 2 additions and 2 deletions

View File

@ -237,13 +237,13 @@
<target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration"> <target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration">
<!-- Look for property definition for ${idea.jdk} in various *build.properties files --> <!-- 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}/lucene.build.properties"/>
<property file="${user.home}/build.properties"/> <property file="${user.home}/build.properties"/>
<property file="lucene/build.properties"/>
<condition property="idea.jdk.is.set"> <condition property="idea.jdk.is.set">
<isset property="idea.jdk"/> <isset property="idea.jdk"/>
</condition> </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=""/> <property name="idea.jdk" value=""/>
<copy todir="."> <copy todir=".">
<fileset dir="dev-tools/idea"/> <fileset dir="dev-tools/idea"/>