Announcement Announcement Module
No announcement yet.
Duplicate a Grails Application with a new name Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Duplicate a Grails Application with a new name

    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.


  • #2
    The two important steps are to rename the new project folder to the new project name, and change the '' property in 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.