Changeset 1012 for trunk/grails-app/conf/BootStrap.groovy
- Timestamp:
- Oct 28, 2010, 7:45:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r976 r1012 20 20 */ 21 21 class BootStrap { 22 22 def springSecurityService 23 23 24 24 def init = {servletContext -> 25 "Bootstrapping application".grom() 26 25 27 // define timezone 26 28 System.setProperty('user.timezone', 'CET') … … 70 72 if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) { 71 73 // yes it is, skip study bootstrapping 72 println ".skipping study bootstrapping"74 "Skipping study bootstrapping".grom() 73 75 74 76 // get species ontology … … 88 90 ).with { if (!validate()) { errors.each { println it} } else save(flush:true)} 89 91 } else { 92 "Bootstrapping studies".grom() 93 90 94 // general study boostrapping 91 95 BootStrapStudies.addExampleStudies(user, userAdmin)
Note: See TracChangeset
for help on using the changeset viewer.