mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8209064: Make intellij support more robust after changes for 2018.2
Do not treat build.xml wrapper as a template file Reviewed-by: erikj, ihse
This commit is contained in:
@@ -76,7 +76,6 @@
|
||||
<property name="make.conf.dir" location="${make.dir}/conf"/>
|
||||
<property name="make.tools.dir" location="${make.dir}/tools"/>
|
||||
<property name="build.dir" location="build/langtools"/>
|
||||
<property name="idea.support.dir" location="build/.idea-support"/>
|
||||
<property name="build.modules" location="${build.dir}/modules"/>
|
||||
<property name="build.gensrc" location="${build.dir}/gensrc"/>
|
||||
<property name="build.tools" location="${build.dir}/toolclasses"/>
|
||||
@@ -270,14 +269,11 @@
|
||||
<target name="idea" depends="-check-langtools.jdk.home">
|
||||
<mkdir dir=".idea"/>
|
||||
<copy todir=".idea" >
|
||||
<fileset dir="${make.dir}/intellij">
|
||||
<fileset dir="${make.dir}/intellij/template">
|
||||
<exclude name="**/src/**"/>
|
||||
<exclude name="**/utils/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<!-- move build.xml out of .idea, see IDEA-189915 -->
|
||||
<mkdir dir="${idea.support.dir}"/>
|
||||
<move todir="${idea.support.dir}" file=".idea/build.xml"/>
|
||||
<condition property="idea.jtreg.home" value="${jtreg.home}" else = "[jtreg.home]">
|
||||
<isset property="jtreg.home"/>
|
||||
</condition>
|
||||
@@ -293,7 +289,7 @@
|
||||
<mkdir dir=".idea/classes"/>
|
||||
<javac source="${javac.build.source}"
|
||||
target="${javac.build.target}"
|
||||
srcdir="${make.dir}/intellij/src"
|
||||
srcdir="${make.dir}/intellij/template/src"
|
||||
destdir=".idea/classes"/>
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user