Skip to content

Apache Lucene open-source search software

Intellij config: JDK setup: switch interpolation markers in dev-tools/idea/.idea/misc.xml to be well-formed (unlikely-to-be-used XML attribute 'subst.="idea.jdk"'), so that in-place users won't be yelled at by Intellij. When IntelliJ starts up without this 'attribute' having been interpolated, it ignores and then removes the unknown XML attribute.

Steven Rowec717abd09654
diff --git a/build.xml b/build.xml
index a521487e1f9..5c61cbe13de 100644
--- a/build.xml
+++ b/build.xml
@@ -247,7 +247,7 @@
<property name="idea.jdk" value=""/>
<copy todir=".">
<fileset dir="dev-tools/idea"/>
- <filterset begintoken="@" endtoken="@">
+ <filterset begintoken="subst.=&quot;" endtoken="&quot;">
<filter token="idea.jdk" value="${idea.jdk}"/>
</filterset>
</copy>
diff --git a/dev-tools/idea/.idea/misc.xml b/dev-tools/idea/.idea/misc.xml
index 5b61dafd622..da37a2f21e2 100755
--- a/dev-tools/idea/.idea/misc.xml
+++ b/dev-tools/idea/.idea/misc.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" @idea.jdk@ />
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" subst.="idea.jdk" />
</project>