Results 1 to 2 of 2

Thread: Duplicate a Grails Application with a new name

Hybrid View

  1. #1

    Default Duplicate a Grails Application with a new name

    Hi,
    What is the recommend method to duplicate/rename an existing Grails application ?

    I copied and renamed the TekDays application from the TekDays top level using Windows Explorer. When I run the renamed version all of the plugins are missing. Hence my question.


    In case it matters, I am also using (read as: learning to use) GIT and IntelliJ IDEA 9.


    Thanks

  2. #2
    Join Date
    Jul 2007
    Posts
    121

    Default

    The two important steps are to rename the new project folder to the new project name, and change the 'app.name' property in application.properties to the new name.

    To resolve the missing plugins, as long as they're available in the standard repo or you've configured a custom repository, just run any grails command and it'll re-check the dependencies and install the missing plugins. 'grails compile' should do the trick.

    If you were working with a custom plugin that you got from a nonstandard location or one that you're developing yourself, you'd have to reinstall it the same way you installed it in the original app.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •