for intellij users
Miguel Garcia Gutierrez
miguel.m.garcia at oracle.com
Fri Apr 11 14:21:19 UTC 2014
I've just tried the new command (thanks, Gilles!)
intellijinit (re)generate Intellij project configurations
ie, as of http://hg.openjdk.java.net/graal/graal/rev/858d2b91c1f8
Code navigation, module dependencies, all are ok.
Only needed change was in Project Structure > Libraries (ie, jars for FINDBUGS, OKRA, etc).
Out of the box it picks <download-folder>/make/lib/...
Re-directed them to <download-folder>/lib/...
If I understand correctly, the next step is creating build steps via
Project Structure > Artifacts > Add > Jar > From modules with dependencies
Regarding that, I don't know how to tell IntelliJ IDEA (13.0.2 Community Edition) to merge difference META-INF/services contributed by different modules into a single one (in the resulting JAR).
The closest SO questions I could find are not for IDEA (but you get the idea):
http://stackoverflow.com/questions/18276467/problems-packaging-apps-with-jersey-deps-into-jars
http://stackoverflow.com/questions/13254620/meta-inf-services-in-jar-with-gradle
Comments are welcome!
Miguel
More information about the graal-dev
mailing list