Project

General

Profile

IntelliJ z2 plugin » History » Version 11

Udo Offermann, 09.05.2014 14:46

1 1 Udo Offermann
h1. IntelliJ z2 plugin
2
3
The z2-plugin for IntelliJ IDEA simplifies development with the z2-environment. 
4
The following features are supported as of version 1.0:
5
6 6 Udo Offermann
* *[[IntelliJ_z2_plugin#Launching|Launching]]:* Start your z2-environment on your local machine from the IDE
7 10 Udo Offermann
* *[[IntelliJ_z2_plugin#z2-sync|z2-sync]]:* Synchronize your local changes with the z2-environment
8 6 Udo Offermann
* *[[IntelliJ_z2_plugin#z2-dependency-resolution|z2 dependency resolution]]:* Resolve missing dependencies from the z2-environment
9
* *[[IntelliJ_z2_plugin#Managing z2-modules|Managing z2-modules]]:* z2-modules can be created and deleted on demand
10
* *[[IntelliJ_z2_plugin#Arming modules|Arming modules]]:* Armed z2-modules become active after z2-Sync.
11
* *[[IntelliJ_z2_plugin#z2-Module wizard|z2-Module wizard]]:* Create new z2-modules with or without Spring support
12
* *[[IntelliJ_z2_plugin#z2-Properties editor|z2-Properties editor]]:* Provides completions and documentation for z2-properties files
13 1 Udo Offermann
14
h2. Installation
15
16 11 Udo Offermann
h2. Prerequisites
17
18 1 Udo Offermann
h2. Preferences
19
20 8 Udo Offermann
The z2-plugin preferences can be found at Project-Settings -> z2-Environment. The typically development settings like host-name=localhost, port=8080, user=z* and password=z are set by default.
21
Once a z2-environment is up and running the settings can be verified using "Test connection...".
22
23
The field "z2 Home Directory" must point to the folder where the z2-core is installed. This location can be chosen by the file picker dialog or by "Search z2-Home" button.
24
The latter one searches the directory structure within your IntelliJ project folder for a valid z2-Home location. The z2-Home location defines which z2-environment will be started when 
25
launching the z2-environment from the IDE.
26
27 1 Udo Offermann
h2. Launching
28
29 9 Udo Offermann
Once the z2-Home is defined, the z2-environment can be launched from the IDE: Select *Tools* -> *Launch z2-environment...*.
30
This will start the z2-environment on your local machine using your local OS JDK (not the one defined in IntelliJ). Beside
31
the standard z2-Swing window the server output is logged inside an IntelliJ tool window (see *View* -> *Tool Windows* -> *z2-environment*).
32
Logs from the z2-server are displayed in red text color while output from the z2-plugin is displayed in blue.
33
34 10 Udo Offermann
h2. z2-sync
35 6 Udo Offermann
36 7 Udo Offermann
h2. z2 dependency resolution
37 6 Udo Offermann
38 7 Udo Offermann
h2. Managing z2-modules
39 6 Udo Offermann
40 7 Udo Offermann
h2. Arming modules
41 6 Udo Offermann
42 7 Udo Offermann
h2. z2-Module wizard
43 6 Udo Offermann
44 7 Udo Offermann
h2. z2-Properties editor