changeset 3441:45882ef4495c

8048905: More tweaking with langtools intellij support Summary: Add support for 'jtreg.home' property; fix code width to be 80; disable import optimizations Reviewed-by: vromero
author mcimadamore
date Tue, 01 Jul 2014 17:23:46 +0100
parents eb1989ca0494
children b594326278ed
files make/build.xml make/intellij/ant.xml make/intellij/codeStyleSettings.xml
diffstat 3 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/build.xml	Mon Jun 30 17:08:06 2014 +0200
+++ b/make/build.xml	Tue Jul 01 17:23:46 2014 +0100
@@ -761,6 +761,7 @@
         <copy todir=".idea" >
             <fileset dir="make/intellij" includes="**"/>
         </copy>
+        <replace file=".idea/ant.xml" token="@@@" value="${jtreg.home}"/>               
     </target>
 
     <!--
--- a/make/intellij/ant.xml	Mon Jun 30 17:08:06 2014 +0200
+++ b/make/intellij/ant.xml	Tue Jul 01 17:23:46 2014 +0100
@@ -6,6 +6,7 @@
         <property name="boot.java.home" value="$JDKPath$" />
         <property name="jtreg.tests" value="$FilePath$" />
         <property name="target.java.home" value="$JDKPath$" />
+        <property name="jtreg.home" value="@@@" />
         <property name="javac.debuglevel" value="source,lines,vars" />
         <property name="jtreg.jpda.jvmargs" value="-agentlib:jdwp=transport=dt_socket,server=n,address=localhost:5900,suspend=y" />
       </properties>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make/intellij/codeStyleSettings.xml	Tue Jul 01 17:23:46 2014 +0100
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectCodeStyleSettingsManager">
+    <option name="PER_PROJECT_SETTINGS">
+      <value>
+        <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
+        <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
+        <option name="RIGHT_MARGIN" value="80" />
+        <XML>
+          <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
+        </XML>
+      </value>
+    </option>
+    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
+  </component>
+</project>
+