Rate this page:
Setting up IDEA for plugin development is a breeze. Simply create a plugin project using the
atlas-create-*-plugin command (for example, atlas-create-confluence-plugin) and then load the project's POM file into IntelliJ. IntelliJ's Maven integration will generate the appropriate project files for you.
While it's possible to run the Atlassian Plugin SDK commands from within IDEA as custom run commands, in practice, most developers simply use IDEA for code editing and debugging, and use a separate console to run the
atlas-debug, or other Atlassian Plugin SDK command. After you've made project changes with the SDK, IDEA will detect the file changes on disk and prompt you to reimport the project.
After starting the Atlassian application, you can connect to it from IDEA for debugging on the default debug port 5005, as described in Creating a Remote Debug Target.
To load the plugin project in IDEA:
/usr/lib/jdk/jdk-1-6. (To see what the SDK uses for its Java home, enter the
atlas-versioncommand and look for the Java home indicated in the output of the command.
You may find it beneficial to increase the default amount of memory allocated for IDEA. You can do this by modifying the VM options located in:
/Applications/IntelliJ\ IDEA\ 9.0.4.app/Contents/Info.plist
For example, if you installed the application in it's default location on Windows you may see something like this:
C:\Program Files\JetBrains\IntelliJ IDEA 9.0.4\bin\idea.exe.vmoptions
Here are sample settings:
-Xms32m -Xmx256m -XX:MaxPermSize=128m -ea
Rate this page: