NetBeans
Last updated
Was this helpful?
Last updated
Was this helpful?
Working example project, which results from this tutorial, can be downloaded from .
You need to install full version of (where Groovy is included).
Then you need to install for NetBeans. Search for grails
and mark Groovy and Grails
plugin as selected.
Click on Install
button and finish the instalation which will require restart Netbeans IDE.
Open New Project
window to create Grails application. Select Grails Application
and click on Next
.
Type name of the project and finish the wizard.
Also configure Grails version that will be used for your project.
Open BuildConfig.groovy
and add dependency to vaadin plugin compile ":vaadin:7.6.1"
.
Open commands window in Netbeans.
Run grails compile
command. It will download Vaadin plugin together with all mandatory dependencies.
Then click on Refresh Commands
button and run grails vaadin-quickstart
that will generate sample code to easier project configuration.
The command vaadin-quickstart
will generate MyUI.groovy
and remove URL mapping inside UrlMapping.groovy
.
We want to prevent Grails to take over URL mapping. Open UrlMappings.groovy
and make sure the URL mapping is empty.
We are ready to start up the application. Run grails run-app
command.
The latest version of the plugin is always available on
Vaadin application running on will become accessible after a while.