-
Grails Test Code Problem
Hi,
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.
-
Ah! This is from an IDE, yes? I suggest you configure your IDE to compile to a completely different directory, such as 'bin' or 'eclipse'.
-
STS and same is true for other installations of eclipse.