views:

17

answers:

0

When I create a production war (grails war --nojars) my doWithDynamicMethods is not being called in a production environment. The code works in the dev env (ie grails run-app)

Here is some of my code:

PDFFormsGrailsPlugin.groovy (in PDFForms (plugin) directory) :-

 def doWithDynamicMethods = { ctx ->
  println "Adding renderPDFForm to controller";

  for (controllerClass in application.controllerClasses) {
   updateControllers controllerClass.metaClass
  } 
    }

BuildConfig.groovy (in Application using Plugin) :-

grails.plugin.location.'pdff-orms' = "../PDFForms"

We are using Grails 1.3.5 on Windows XP, The Build is called from STS 2.3.3.CI-R5462-B20

Thanks in advance.