Vaadin 7 on Grails 2.x
  • Introduction
  • Project setup
    • Command Line
    • IntelliJ IDEA
    • Eclipse
    • NetBeans
    • Plugin Configuration
    • Clean up
    • Best Practices
  • Database
    • GORM
      • Create Domain Model
      • Transactions
      • LazyInitializationException
      • Open Session In View I.
      • Open Session In View II.
      • Table Container
    • Groovy SQL
      • Create Sql
      • Execute SQLs
    • MyBatis
      • Configuration
      • Basics
    • JdbcTemplate
      • Create Beans
      • Usage
    • Clean Up With Alternatives
  • Architecture
    • Model View Presenter
  • Spring Autowiring
    • Create Simple Application
    • Application With Navigator
  • UI
    • Re-using GORM Validations
    • Async Push
    • Multiple application
    • SASS Compilation
    • Widgetset Compilation
  • Spring Security
    • Spring Security Dependency
    • Spring Security Basics
    • Secured Navigator
  • Localization
    • Localization Basics
    • Custom MessageSource
  • REST
    • Without using root URL
    • Using root URL for Vaadin app
  • Plugin development
    • Github
    • Development
Powered by GitBook
On this page
  • Way 1
  • Way 2

Was this helpful?

  1. Plugin development

Development

Create a sample Grails application with Vaadin plugin that you will use for plugin development.

There are two ways to use the plugin in the sample application.

Way 1

Add direct dependency to BuildConfig.groovy. You can add it as the last row there.

grails.plugin.location.'vaadin' = "/Users/john/projects/grails-vaadin7-plugin"

Then all the changes do in Vaadin plugin will become immediatelly available in the sample application.

Way 2

The second way is to release plugin into local maven repository. Before you do so, you need to set plugin version to SNAPSHOT.

grails set-version 7.3.0-SNAPSHOT

Then you reference SNAPSHOT version in the sample application. You can do the changes in Vaadin plugin and release it as a snapshot to your local maven repository.

grails maven-install

It is recommended to test SNAPSHOT version in the sample application everytime before you create a pull request.

PreviousGithub

Last updated 5 years ago

Was this helpful?