Created
September 9, 2011 21:56
-
-
Save astachelek/1207440 to your computer and use it in GitHub Desktop.
Include the FTP server configuration into the Grails Spring context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import grails.util.* | |
beans = { | |
switch(Environment.current) { | |
case Environment.TEST: | |
importBeans('file:grails-app/conf/spring/test-ftp.xml') | |
break | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment