diff --git a/bin/idea.sh b/bin/idea.sh index 03b9eee13da..0852ff09f45 100644 --- a/bin/idea.sh +++ b/bin/idea.sh @@ -68,9 +68,12 @@ mkdir $IDEA_OUTPUT || exit 1 cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd` MAKE_DIR="$SCRIPT_DIR/../make" +SUPPORT_DIR="$SCRIPT_DIR/../build/.idea-support" IDEA_MAKE="$MAKE_DIR/idea" IDEA_TEMPLATE="$IDEA_MAKE/template" +mkdir -p $SUPPORT_DIR + cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT" #init template variables @@ -124,6 +127,11 @@ if [ "x$SPEC" = "x" ] ; then echo "FATAL: SPEC is empty" >&2; exit 1 fi +# move build.xml out of .idea, see IDEA-189915 +IDEA_BUILD_OLD=$IDEA_BUILD +IDEA_BUILD=$SUPPORT_DIR/build.xml +mv $IDEA_BUILD_OLD $IDEA_BUILD + SOURCE_FOLDER=" " SOURCE_FOLDERS_DONE="false" diff --git a/make/idea/template/ant.xml b/make/idea/template/ant.xml index 74d7c1e34c2..5c2519d4606 100644 --- a/make/idea/template/ant.xml +++ b/make/idea/template/ant.xml @@ -1,7 +1,7 @@ - + diff --git a/make/idea/template/build.xml b/make/idea/template/build.xml index a553a940d2b..0377d266539 100644 --- a/make/idea/template/build.xml +++ b/make/idea/template/build.xml @@ -1,5 +1,5 @@ - + - + diff --git a/make/langtools/intellij/misc.xml b/make/langtools/intellij/misc.xml index ac40c95dd2d..e021a0691bf 100644 --- a/make/langtools/intellij/misc.xml +++ b/make/langtools/intellij/misc.xml @@ -9,12 +9,10 @@ @XPATCH@ - + - + - -