Changeset 1024 for trunk/grails-app/conf
- Timestamp:
- Nov 1, 2010, 11:30:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r1012 r1024 71 71 // check if special file is present in project directory 72 72 if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) { 73 // yes it is, skip study bootstrapping74 "Skipping study bootstrapping".grom()75 76 73 // get species ontology 77 74 def speciesOntology = Ontology.getOrCreateOntologyByNcboId(1132) … … 90 87 ).with { if (!validate()) { errors.each { println it} } else save(flush:true)} 91 88 } else { 92 "Bootstrapping studies".grom()93 94 89 // general study boostrapping 95 90 BootStrapStudies.addExampleStudies(user, userAdmin)
Note: See TracChangeset
for help on using the changeset viewer.