You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

installing-idea.asciidoc 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ---
  2. title: Installing IntelliJ IDEA
  3. order: 120
  4. layout: page
  5. ---
  6. [[installing.idea]]
  7. = Installing and Configuring IntelliJ IDEA
  8. With IntelliJ IDEA, you have two choices: use the commercial Ultimate Edition or the free Community Edition.
  9. In the following, we cover the installation and configuration of them both.
  10. .Installing the IntelliJ IDEA toolchain
  11. image::img/installation-intellij-hi.png[width=100%, scaledwidth=100%]
  12. The Ultimate Edition::
  13. The Ultimate Edition includes built-in support for creating Vaadin applications and running or debugging them in an integrated application server.
  14. Community Edition::
  15. You can create a Vaadin application most easily with a Maven archetype and deploy it to a server using a Maven run/debug configuration.
  16. You can get the both editions from the website at https://www.jetbrains.com/idea/[jetbrains.com/idea].
  17. [[installing.idea.ultimate]]
  18. == Installing the Ultimate Edition
  19. Follow the installation instructions given at the website.
  20. [[installing.idea.ultimate.server]]
  21. === Configuring an Application Server
  22. To run a Vaadin application during development in the Ultimate Edition of IntelliJ IDEA, you first need to install and configure an application server that is integrated with the IDE.
  23. The edition includes integration with many commonly used application servers.
  24. In the following, we configure Apache Tomcat:
  25. . Download and extract Tomcat installation package to a local directory, as
  26. instructed in <<installing-server#installing.server.tomcat, "Installing Apache Tomcat">>.
  27. . Select "Configure > Settings".
  28. . Select "IDE Settings > Application Servers".
  29. . Click [guibutton]#+# and select [guilabel]#Tomcat Server# to add a Tomcat server, or any of the other supported servers.
  30. A WebSocket-enabled server, such as Glassfish or TomEE, is required for server push.
  31. . In the Tomcat Server dialog, specify the home directory for the server.
  32. +
  33. image::img/idea-server-1.png[scaledwidth=80%]
  34. +
  35. Click [guibutton]#OK#.
  36. . Review the application server settings page to check that it is OK.
  37. +
  38. image::img/idea-server-2.png[scaledwidth=100%]
  39. +
  40. Then, click [guibutton]#OK#.