Changeset 845 for trunk/grails-app/conf
- Timestamp:
- Aug 27, 2010, 12:35:27 PM (10 years ago)
- Location:
- trunk/grails-app/conf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r830 r845 116 116 117 117 // If in development mode and no studies are present, add example studies 118 if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_ DEVELOPMENT) {118 if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) { 119 119 // check if special file is present in project directory 120 120 if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) { … … 158 158 // register methods for accessing SAM's Rest services 159 159 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) { 160 CommunicationManager.SAMServerURL = 'http://sam. dbnp.org'160 CommunicationManager.SAMServerURL = 'http://sam.nmcdsp.org' 161 161 } 162 162 else { -
trunk/grails-app/conf/BootStrapStudies.groovy
r836 r845 470 470 name: 'SAM module for clinical data', 471 471 platform: 'clinical measurements', 472 url: 'http:// localhost:8182/sam'472 url: 'http://sam.nmcdsp.org' 473 473 ).with { if (!validate()) { errors.each { println it} } else save()} 474 474 … … 477 477 name: 'Metabolomics module', 478 478 platform: 'GCMS/LCMS', 479 url: 'http:// localhost:8080/nmcdsp'479 url: 'http://nmcdsp.nmcdsp.org' 480 480 ).with { if (!validate()) { errors.each { println it} } else save()} 481 481
Note: See TracChangeset
for help on using the changeset viewer.