-
Jun 9th, 2011, 11:37 AM
#1
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.
-
Jun 10th, 2011, 08:53 AM
#2
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'.
-
Jun 10th, 2011, 09:12 AM
#3
STS and same is true for other installations of eclipse.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules