Create and Run Your First ZK Application with IntelliJ and ZKIdea"
From Documentation
m |
|||
Line 4: | Line 4: | ||
__TOC__ | __TOC__ | ||
− | [https://plugins.jetbrains.com/plugin/7855 ZKIdea] is | + | [https://plugins.jetbrains.com/plugin/7855 ZKIdea] is an IntelliJ plugin for ZK application development contributed by Mr. Jumper Chen. |
=Install ZK IntelliJ Plugin = | =Install ZK IntelliJ Plugin = |
Revision as of 09:27, 31 July 2015
ZKIdea is an 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", check "Create from archetype", scroll to the end of the list, 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 |
---|---|---|