Changeset 567 for trunk/grails-app/conf
- Timestamp:
- Jun 16, 2010, 1:55:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r564 r567 22 22 23 23 // we could also check if we are in development by GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT 24 if (Study.count() == 0 ) {24 if (Study.count() == 0 && false) { 25 25 println ".development bootstrapping..."; 26 26 … … 1106 1106 1107 1107 } 1108 1109 // Ontologies must be connected to the templatefields in runtime 1110 // because the Ontology.findByNcboId is not available otherwise 1111 TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.findByNcboId(1132)] 1112 TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.findByNcboId(1005)] 1108 1113 } 1109 1110 // Ontologies must be connected to the templatefields in runtime1111 // because the Ontology.findByNcboId is not available otherwise1112 TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.findByNcboId(1132)]1113 TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.findByNcboId(1005)]1114 1115 1114 } 1116 1115
Note: See TracChangeset
for help on using the changeset viewer.