IntelliJ Platform plugin for Aerogear Mobile services on OpenShift.
- Download the
zip
file from the page with a list of released versions - Install the plugin (in Android Studio, IntelliJ IDEA, etc.) through
Preferences
->Plugins
->Install plugin from disk
and by selecting thezip
file - You will need to restart the IDE to enable the plugin
The plugin is integrated into the IntelliJ IDE with a tool window.
See package org.aerogear.plugin.intellij.mobile.ui
.
The aerogear-mobile-intellij-plugin relies on the Aerogear mobile-cli to communicate with your Openshift cluster.
It's very easy to set it up as an IntelliJ project.
- Download the Aerogear mobile-cli and add to path.
- Activate plugins
Gradle
,Plugin DevKit
andUI Designer
in IntelliJ. git clone https://github.com/aerogear/aerogear-mobile-intellij-plugin.git
- Open checked out project in IntelliJ ("File" -> "New" -> "Project from Existing Sources" -> select file
build.gradle
inaerogear-mobile-intellij-plugin
folder and press "OK") - Create a new run configuration: "Gradle" -> "Gradle project": select the only project -> "Tasks": "runIde"
- Press "Debug" button. IntelliJ should start with a clean workspace (development sandbox). You need to checkout a project to see changes (it shows only changes for Git repositories that are set up in current workspace by default).
Once build.gradle
gets updated, you need to "Refresh all Gradle projects" in the Gradle panel.
Run the plugin tests
- Ensure that the
Gradle
plugin is enabled and properly configured in IntelliJ as detailed above. - Open the
Gradle
panel and run the tasktest
under "Tasks" -> "Verification" -> "test"
Check the CONTRIBUTING.md
file.