Ignore:
Timestamp:
Mar 15, 2011, 2:06:25 PM (11 years ago)
Author:
work@…
Message:
  • added checks to Grom calls if Grom is available so we can uninstall the plugin on packaging time... resolves issue #359
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r1590 r1635  
    2929
    3030        def init = { servletContext ->
    31                 // grom what's happening
    32                 "bootstrapping application".grom()
     31                // Grom a development message
     32                if (String.metaClass.getMetaMethod("grom")) "bootstrapping application".grom()
    3333
    3434                // get configuration
     
    6161                // from other modules. Part of gscf ticket #185
    6262                if (config.modules) {
    63                         // register SAM REST methods
    64                         "Registering SAM REST methods".grom()
     63                        // Grom a development message
     64                        if (String.metaClass.getMetaMethod("grom")) "Registering SAM REST methods".grom()
    6565                        CommunicationManager.registerModule('gscf', config.grails.serverURL, config.modules)
    6666                        CommunicationManager.registerRestWrapperMethodsFromSAM()
     
    102102
    103103        def destroy = {
    104                 "stopping application...".grom()
     104                // Grom a development message
     105                if (String.metaClass.getMetaMethod("grom")) "stopping application...".grom()
    105106        }
    106107}
Note: See TracChangeset for help on using the changeset viewer.