Create and Run Your First ZK Application with IntelliJ and ZKIdea

From Documentation
Revision as of 08:01, 31 July 2015 by Jumperchen (talk | contribs) (Created page with "{{ZKInstallationGuidePageHeader}} __TOC__ [https://plugins.jetbrains.com/plugin/7855 ZKIdea] is a IntelliJ plugin for ZK application development contributed by Mr. Jumper Chen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


DocumentationZK Installation GuideQuick StartCreate and Run Your First ZK Application with IntelliJ and ZKIdea
Create and Run Your First ZK Application with IntelliJ and ZKIdea




ZKIdea is a IntelliJ plugin for ZK application development contributed by Mr. Jumper Chen.

Install ZK IntelliJ Plugin

Install IntelliJ

  1. Download the latest IntelliJ IDE from here

Install ZK plugin

  1. Start IntelliJ

  2. On IntelliJ's main menu bar, select File > Settings > Plugins.

  3. Type ZK into the search bar, and then install it.
    ZKInstallationGuide IntelliJ InstallZKPlugin.png

Create a New ZK Project

  1. On IntelliJ main menu bar, select File > "New Project" > Maven

  2. On the New Project wizard select a "Project SDK" and check "Create from archetype" and scroll to the end of the list, and select a ZK archetype and press "Next" to create a project.
    ZKInstallationGuide IntelliJ SelectNewZKProject.png

  3. Fill in the information about your project and press "Next".
    ZKInstallationGuide IntelliJ CreateNewZKProject1.png

  4. Check all the information about your project and press "Next".
    ZKInstallationGuide IntelliJ CreateNewZKProject2.png

  5. Fill in the project location and press "Finish".
    ZKInstallationGuide IntelliJ CreateNewZKProject3.png

Run the ZK Project

  1. On IntelliJ main menu bar, select Run > "Edit Configurations"

  2. Press the plus icon "+" to add a maven runtime
    ZKInstallationGuide IntelliJ RunZKProject1.png

  3. Fill in the project information and type "jetty:run" into the "Command Line" field, and then press "Apply" and "OK"
    ZKInstallationGuide IntelliJ RunZKProject2.png

  4. Press the green run button to run a jetty server with the project
    ZKInstallationGuide IntelliJ RunZKProject3.png

  5. Visit the link "http://localhost:8080/test/index.zul" on your browser
    ZKInstallationGuide IntelliJ RunZKProject4.png

Version History

Version Date Content
     



Last Update : 2015/07/31

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.