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/dbnp/configuration/ExampleTemplates.groovy

    r1604 r1635  
    2323         */
    2424        public static void initTemplateOntologies() {
    25                 "inserting initial ontologies".grom()
     25                // Grom a development message
     26                if (String.metaClass.getMetaMethod("grom")) "inserting initial ontologies".grom()
    2627
    2728                // If running in development or test mode, add ontologies manually to speed up development and allow running offline
     
    8485         */
    8586        public static void initTemplates() {
    86                 "inserting initial templates".grom()
     87                // Grom a development message
     88                if (String.metaClass.getMetaMethod("grom")) "inserting initial templates".grom()
    8789
    8890                def genderField = new TemplateField(
Note: See TracChangeset for help on using the changeset viewer.