Child pages
  • How to build plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Check out the Groovy project from http://svn.jetbrains.org/idea/Trunk/bundled/groovy/
  • Update to a new EAP of IntelliJ IDEA
  • Open the Groovy.ipr file with IDEA
  • You'll receive a warning about undefined GROOVY_SDK_PATH path variable. Make it point to your Groovy distribution directory.
  • Open the Project Structure settings (Ctrl+Alt+Shift+S):
    • You will need to configure 2 JDKs:
      • "JetGroovy Runtime JDK": A JDK of version 1.3
      • "JetGroovy IDEA SDK": New IntelliJ IDEA SDK pointing to the last IDEA EAP with some 1.5 JDK as internal Java platform
        • Add IDEA_HOME/lib/idea.jar to SDK classpath
        • Add IDEA_HOME/plugins/JavaScriptLanguage/lib/JavascriptLanguage.jar to SDK classpath
        • Add IDEA_HOME/plugins/CSS/lib/css.jar and css-openapi.jar to SDK classpath
        • Add IDEA_HOME/plugins/peroperties/lib/properties.jar and css-openapi.jar to SDK classpath
        • Add IDEA_HOME/plugins/JavaEE/lib/javaee-impl.jar to SDK classpath
        • Add IDEA_HOME/plugins/Spring/lib/spring.jar to SDK classpath
        • Add tools.jar (for Windows) or classes.jar (for Mac) from your internal Java SDK directory to the current IntelliJ IDEA SDK classpath
  • Run the make project command from IDEA's Build menu
  • Now you can run/debug the plugin using 'JetGroovy' run configuration

...