So far the only integration option I found was to use `atlas-create-jira5-plugin` utility to create a project, a project that is recognized by IntelliJ IDEA but I cannot use `run`, `debug`, `test` or deploy options from the IDE.
Do you have any resources that would indicate how to achieve this?
Here is a sample project that I try to configure to work with IntelliJ IDEA.
https://bitbucket.org/sorin/jira-plugin-intellij
Community moderators have prevented the ability to post new answers.
As this link seems to allways popup in first position when I'm using google to re-find-out how to do this, I might aswell leave the solution here so I'll find it quicker next time ;-)
When working with IntelliJ I edit and debug the application from IntelliJ, but I run the plugin from a command prompt (In fact I need 2 of them). In one I execute "atlas-debug" in the root of my plugin directory. This starts whatever application is needed with the plugin and is configured for remote debugging. Then in IntelliJ I setup a remote debugging target and use that to connnect to the running application. Now debugging works like a charm.
If I wannt to apply changes, I open a second command prompt and use the commandline interface "atlas-cli" to open the Atlassian SDK Commandline Interface. Within that cli application you can compile and redeploy your plugin using the "pi" (Plugin install) command. After executing that command the new version of your plugin is immediatelly active.
I guess you could aswell make IntelliJ run "atlas-debug" and "atlas-cli" from within IntelliJ, but I never bothered to configure this.
I'm trying to work through the IDE part of the tutorial, which is very Eclipse-centric. In Step 2 of https://developer.atlassian.com/display/DOCS/Put+the+Final+Polish+on+the+Project+in+Eclipse, they mention using atlas-mvn eclipse:eclipseto generate Eclipse configuration files. Is there a similar process that needs to be done for IntelliJ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joel,
Did you ever manage to find something similair for IntelliJ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, the link mentioned here has very incomplete information. The Atlassian SDK scripts set a different environment when run, adding the maven repositories necessary to build, compile, and test.
Importing into IDEA does not capture this information, and must be configured manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I updated my question and added a link to a sample project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mulțam Radu! ;) ... still I was aware about the link above, but the only think it does is to allow you to open the project in IDEA and compile it. Still RUN or DEBUG are not configured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According DEBUG look https://developer.atlassian.com/display/DOCS/Creating+a+Remote+Debug+Target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Sorin,
I confirm Cristopher's answer as the best. I also wanted to add that you can use the built in terminal window in Idea - just press Alt+F12, then cd to your plugin folder, run atlas-cli and make pi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am still not satisfied by current documentation: https://developer.atlassian.com/server/framework/atlassian-sdk/configure-idea-to-use-the-sdk/
Typically my add-on unit tests runs properly with "atlas-mvn" command but IDEA fails to run/debug unit test after a compilation failure on classes (not test cases) for lacking dependencies (when importing Apache commons collections, io, lang or "webwork" packages) which are expected to come with SDK itself.
What should I do to get my IDEA project to compile so that I can run unit tests?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on this blog entry: http://biercoff.com/how-to-setup-jira-plugin-project-in-intelij-idea-on-mac/
I have been able to tune my IDEA project Settings so that to use Atlassian Plugin SDK specific maven version (home, settings.xml and repository)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because the documentation page is in complete I raised bugs on both Atlassian SDK and IntelliJ IDEA for documenting this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can someone from Atlassian fix the damn documentation, we are not even allowed to add comments to it. The documentation is cleary outdated/obsolete/imcomplete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.