Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8210425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:04:09+00:00 2026-06-07T10:04:09+00:00

When I copy my app to a different machine and do ‘grails run-app’ grails

  • 0

When I copy my app to a different machine and do ‘grails run-app’ grails seems to skip a step as far as updating its local plugins. (What I mean is the first computer has just done Downloading: plugins-list.xml, but when I run the app on the second machine, the new machine will not do that step.) I get this message:

Loading Grails 2.0.3
Configuring classpath

Environment set to development.....
Packaging Grails application
You currently already have a version of the plugin installed [resources-1.1.6]. Do you want to update to [resources-1.1.5]? [y,n] n
Plugin resources-1.1.5 install aborted
Compiling 92 source files

Am I diagnosing this correctly, and how do I force an update? Also, if I do accept the downgrade my app breaks. Not sure whats up with that as it was working with 1.1.5 for a while..

What I feel like is happening is that grails makes a note in the project when grails’ plugin magic was last updated, so that when I move the project the other grails mistakenly thinks it just updated. Is this at all correct?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:04:10+00:00Added an answer on June 7, 2026 at 10:04 am

    Are you specifying your plugins in your BuildConfig.groovy file or are you “installing” the plugins using the install-plugin command? My reading indicates usage of the install-plugin command isn’t recommended anymore, you should instead specify the plugin as in your BuildConfig.groovy file then Grails will just handle it regardless of what machine you deploy on.

    Example:

    plugins {
        /*
        * build - dependency that is only needed by the build process
        * compile - dependency that is needed at both compile-time and runtime. This is the most common case
        * provided - dependency that is needed at compile-time but should not be packaged with the app (usually because it is provided by the container). An example is the Servlet API
        * runtime - dependency that is needed to run the application, but not compile it e.g. JDBC implementation for specific database vendor. This would not typically be needed at compile-time because code depends only the JDBC API, rather than a specific implementation thereof
        * test - dependency that is only needed by the tests
        */
        runtime ":cached-resources:1.0"
        runtime ":database-migration:1.1"
        runtime ":hibernate:$grailsVersion"
        runtime ":jquery:1.7.1"
        runtime ":resources:1.1.6"        
        runtime ":yui-minify-resources:0.1.4"
        runtime ":zipped-resources:1.0"
    
        compile ":cache-headers:1.1.5"
        compile ":commentable:0.8.1"
        compile ":jquery-ui:1.8.15"
        compile ":joda-time:1.4"
        compile ":searchable:0.6.3"
        compile ":spring-security-ldap:1.0.6" // Also installs spring-security-core
    
        build ":tomcat:$grailsVersion"
    
    }
    

    Note too that some plugins also require a special entry in the dependencies section of your BuildConfig.groovy file. The JodaTime plugin is one such plugin.

    dependencies {
        compile "org.jadira.usertype:usertype.jodatime:1.9"
    }
    

    A plugin’s docs should specify if any entry in the dependencies section is needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to make a local copy of a database in a .NET app
I want to copy war file to tomcat web-app directory using NSIS setup. I
How can I retrieve and copy all photos/videos from Photos app to my application
I recently added Android's LVL copy protection to my app, and the results have
I need to start a copy of a Rails app from within Java. I
I would like to copy to clipboard what a Control of my WPF app
I have an app that updates itself over the internet, and the updated copy
I'm using a 500.html template for my app, which is an identical copy of
after first deploy with set :deploy_via, :copy for make changes in app now I'm
I have two versions of my app. I'm trying to keep a copy of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.