Results 1 to 3 of 3

Thread: Grails Test Code Problem

  1. #1

    Default 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.

  2. #2
    Join Date
    Jun 2010
    Location
    London
    Posts
    304

    Default

    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'.

  3. #3

    Default

    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
  •