mirror of https://github.com/apache/lucene.git
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:
parent
c9dc2be5ff
commit
edb6a62d3d
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in New Issue