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...")
ZKIdea is a IntelliJ plugin for ZK application development contributed by Mr. Jumper Chen.
Install ZK IntelliJ Plugin
Install IntelliJ
- Download the latest IntelliJ IDE from here
Install ZK plugin
- Start IntelliJ
- On IntelliJ's main menu bar, select File > Settings > Plugins.
- Type ZK into the search bar, and then install it.
Create a New ZK Project
- On IntelliJ main menu bar, select File > "New Project" > Maven
- 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.
- Fill in the information about your project and press "Next".
- Check all the information about your project and press "Next".
- Fill in the project location and press "Finish".
Run the ZK Project
- On IntelliJ main menu bar, select Run > "Edit Configurations"
- Press the plus icon "+" to add a maven runtime
- Fill in the project information and type "jetty:run" into the "Command Line" field, and then press "Apply" and "OK"
- Press the green run button to run a jetty server with the project
- Visit the link "http://localhost:8080/test/index.zul" on your browser
Version History
Version | Date | Content |
---|---|---|