Created
March 11, 2013 09:10
-
-
Save martint17r/5132950 to your computer and use it in GitHub Desktop.
grails server port selection for test environment
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
if (System.getProperty('grails.env') == 'test') { | |
grails.server.port.http=new Integer(System.getProperty('grails.server.port', System.getProperty('server.port', "7070"))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment