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
--- a/langtools/make/build.xml Mon Jun 30 17:08:06 2014 +0200
+++ b/langtools/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/langtools/make/intellij/ant.xml Mon Jun 30 17:08:06 2014 +0200
+++ b/langtools/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/langtools/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>
+