Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

IntelliJ IDEA lets you create a project using Vaadin Framework that optimizes your Web applicatin development.

Create Vaadin Project with Project Wizard

Before you start creating your project make sure that Vaadin SDK is downloaded on your computer and Vaadin plugin is enabled.

Open Project Wizard, under Java or Java Enterprise select Vaadin framework.

Icon

If you select Java then you might want to specify an application server. For JavaEE the application server is specified automatically.



On the bottom of the page, specify the Vaadin version, the Vaadin distribution location and select Create sample application check box.

Note that for InteliJ IDEA 13 and later, you can choose either Vaadin 6 or 7 version.


If Vaadin is installed on your machine, then you just need to enter its location. Otherwise, the warning message with appropriate link appears. Click the link, download "All-in-One Archive" ZIP file and unpack it to the disired location.
Note that if you selected the Vaadin 6 version, you need to download the Vaadin library. Select Download button and click Configure.

In the dialog that opens, use the default options and click OK.

Select Application Server check box and specify what server you want use for your application. The default application server is Tomcat. Click Next.

IntelliJ IDEA creates a run configuration for your Vaadin application. You can always skip the server configuration at this point and configure it later, after creating your project.
Specify your project information and click Finish.

Creating a Maven Project with Vaadin Archetype

Open Project Wizard, under Maven, select Create from archetype check box and click Add archetype. In the dialog that opens, enter maven GroupId, ArtifactId and Version.


After you click OK, the Vaadin archetype is added to the list of available archetypes. Click Next.

On the next page, enter maven information for your project and click Next.

On the next page, enter your project's infomation and click Finish.

IntelliJ IDEA creates a maven project with pom.xml. IntelliJ IDEA also recognizes that this is a Web application and creates a webapp in your source directory.

Importing an Existing Vaadin Project

Configuring an Application Server

Deploying and Debugging the Application

  • No labels