Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

Side Menu

  • Overview
  • Roadmap
  • Work packages
  • News
  • Wiki
    • Table of contents
      • Hierarchy leafAI Tools for Development
      • Hierarchy leafDeployment To the Server(Modified)
      • Hierarchy leafHosting BTCPayServer in Linux server
      • Hierarchy leafHow to overcome bitbucket login problem (Windows)
      • Expanded. Click to collapseCollapsed. Click to showInstalling a project in Elintegro
        • Hierarchy leafPipeline setUp for Bitbucket
      • Expanded. Click to collapseCollapsed. Click to showInterview University
        • Expanded. Click to collapseCollapsed. Click to showDocker: Install an Elintegro App within Linux server
          • Hierarchy leafConnect to Docker of Omnipay
      • Expanded. Click to collapseCollapsed. Click to showKafka Installation Guide
        • Expanded. Click to collapseCollapsed. Click to showComparing Kafka with other topic technologies
          • Hierarchy leafDesign a messaging app, high level, using kafka
      • Hierarchy leafOpen Project
      • Hierarchy leafRebase with Development Branch
      • Hierarchy leafRemote Debugger with IntelliJ
      • Hierarchy leafTelegram API
      • Hierarchy leafUpgrading Elintegro apps to Grails 6
You are here:
  • Upgrading Elintegro apps to Grails 6

Content

Upgrading Elintegro apps to Grails 6

  • More
    • Table of contents

Steps followed when upgrading dataframe plugin from grails version-3.3.0 to version-6.1.2.

First we need to download all the required things and put them in environment variable .

  • JDK - 17 (download from: https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe ( sha256))
  • Grails-6.1.2 (download from: https://grails.org/download.html )
  • Gradle-8.6 (optional) Most of the cases, ide automatically detect gradle sdk from Grails project but if it is unable to do that, we can download from https://gradle.org/releases/))

To put above things in Environment variables,

  • Search "Environment Variables" in your device.
  • Click on "Edit the system environment variables".
  • Then go to "Environment variables". Then in System variables, select "Path".
  • Click "New" in right side and "Browse" your installation path (till bin) and click Apply.
  • Note: You need to do one by one for JDK-17, Grails-6.1.2, and Gradle-8.6. To make sure you added them properly, You can check their command working or not in Command prompt. For eg: java --version (for jdk), grails --version(for grails) etc.

After setting up above things, we have to now open our project in our IDE (I am using Intellij IDE, so i am keeping steps to follow in Intellij while making upgrade)

  • First of all you need to go to File -> Project Structure -> Project Settings -> Project, then in SDK dropdown, please select JDK-17 from your machine
  • Then go to File -> Project Structure -> Platform Settings -> SDKs -> then add JDK-17 with correct JDK home path.
  • Now go to File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Gradle JVM(in the right side), then select JDK-17 and click Apply.

Now, you are all set to run the project in grails-6.1.2. Before that build your project with gradle build. Make sure, you clone fresh updated code from your repository. You need to make sure there is correct configuration of grails version and dependencies in some files like gradle-wrapper.properties, gradle.properties, build.gradle etc.

Loading...