RFR [9] 8074716: IntelliJ IDEA project support

Roger Riggs Roger.Riggs at Oracle.com
Mon May 2 18:05:55 UTC 2016

Hi Chris,

For navigation, it seems to work fine.

It does add test source folders for test directories that do not exist 
(corba/test and jaxws/test).
Perhaps, omit them from the template.jdk.iml.

And it adds source folders to a quite a number of directories under 
that do not exist. But I suppose it can not know they will never exist.

idea.sh: 46  "--version" -> "--verbose"

idea.gmk: 8 "specificaton" -> "specification"

template/vcs.xml:  uneven indentation

I did not get the jtreg run option to work, it seemed to compile files 
with the wrong compiler
and tried to compile module-info.java files.

Still, I appreciate being able to use it for navigation and editing.

Thanks, Roger

On 4/29/2016 9:12 AM, Chris Hegarty wrote:
> A while back Maurizio announced a beta version of IntelliJ IDEA project
> support for OpenJDK [1]. We got some great feedback and have made
> several improvements since then. We believe that it is now suitable for
> integration into the mainline JDK 9 forests. To that end, please review
> the following changes:
>  http://cr.openjdk.java.net/~chegar/idea/
> Summary:
>  - To create a new project run 'bash common/bin/idea.sh [MODULE-NAME ]+'
>  ( a configuration must exist, as the script leverages its state )
>  This creates a project in the .idea directory of top-level repository.
>  An optional, space separated, list of modules can be provided, in
>  which case the project will contain sources for only the given modules.
>  Otherwise, the project will contain the sources for all JDK modules.
>  The project can be opened by pointing IntelliJ at the top-level
>  directory.
>  - A project generation script is necessary, to include platform
>  specific code, and code generated into platform / spec specific
>  locations. It is not practicable to create a static standard project.
> Further details on building and running tests were included in
> Maurizio's initial mail [1], so I won't repeat them here.
> -Chris.
> [1] 
> http://mail.openjdk.java.net/pipermail/discuss/2015-January/003645.html

More information about the jdk9-dev mailing list