Coder Social home page Coder Social logo

burtbeckwith / migrate-2-grails3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donalmurtagh/migrate-2-grails3

0.0 1.0 0.0 119 KB

A Grails 2 plugin that performs a partial migration of a Grails 2 plugin or app to Grails 3

License: Apache License 2.0

Groovy 100.00%

migrate-2-grails3's Introduction

migrate-2-grails3

A Grails 2 plugin that performs a partial migration of a Grails 2 plugin or application to Grails 3

Usage

  • Create an empty Grails 3 application or plugin (depending on what you're migrating)
  • Install this plugin in the Grails 2 project being migrated, i.e. add the following to BuildConfig.groovy replacing ${version} with the latest version of this plugin
plugins {
    build ':migrate2-grails3:${version}'
    // other plugin dependencies
}
  • Ensure that the current Grails version matches that of the Grails 2 project and execute the following command in the Grails 2 project

grails migrate [path-to-grails3-project]

Arguments

  • path-to-grails3-project the relative path from the Grails 2 project to the empty Grails 3 project

Automatic Migration Tasks

The plugin performs the tasks listed in the "Project Structure Changes" section of the migration guide. After following the instructions above, if the project being migrated is a plugin, steps 1-3 of the Upgrading Plugins section will also have been performed. if the project being migrated is an application, steps 1-2 of the Upgrading Applications section will have been performed.

Exceptions

Some of the steps described in the aforementioned sections of the migration guide are not performed by this plugin. These are:

  • merging DataSource.groovy and Config.groovy into a single application.yml or application.groovy config file with log4j config removed
  • configuring logging via logback.groovy
  • migrating dependencies from BuildConfig.groovy to build.gradle

migrate-2-grails3's People

Contributors

burtbeckwith avatar donalmurtagh avatar eoindre avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.