Jun 9th, 2011, 11:37 AM
Grails Test Code Problem
I am using Grails 1.3.7 , the problem that I am facing with is I have some configuration files that I load in web application from classpath. However these files are not from main source code , normally remain in lib folder of tomcat. I use test/unit/resources folder to keep my test version of config files there. but now those are compiled into web-inf/classes folder therefore overriding my correct config and whole application.
I am not sure if this is delibrate or it is bug. However can anyone help me about how can I selectively specify if I do not want some code in production.