Changeset 946 for branches/features/purchaseOrders/grails-app/conf
- Timestamp:
- May 25, 2011, 1:50:46 PM (14 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
branches/features/purchaseOrders/grails-app/conf/Config.groovy
r942 r946 17 17 grails.config.locations = [ "classpath:${appName}-config.groovy" ] 18 18 19 //grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination 20 19 21 // Set false due to acegi security issue. 20 22 // See: http://jira.grails.org/browse/GPACEGI-41 21 23 // See: http://www.gnumims.org/trac/ticket/98 22 24 grails.mime.file.extensions = false // enables the parsing of file extensions from URLs into the request format 23 25 //grails.mime.use.accept.header = false 24 26 grails.mime.types = [ html: ['text/html','application/xhtml+xml'], 25 27 xml: ['text/xml', 'application/xml'], 26 text: 'text -plain',28 text: 'text/plain', 27 29 js: 'text/javascript', 28 30 rss: 'application/rss+xml', … … 39 41 multipartForm: 'multipart/form-data' 40 42 ] 43 44 // URL Mapping Cache Max Size, defaults to 5000 45 //grails.urlmapping.cache.maxsize = 1000 46 41 47 // The default codec used to encode data with ${} 42 48 grails.views.default.codec="none" // none, html, base64 … … 55 61 grails.enable.native2ascii = true 56 62 57 // whether to install the java.util.logging bridge for sl4j. Disable fo AppEngine!63 // whether to install the java.util.logging bridge for sl4j. Disable for AppEngine! 58 64 grails.logging.jul.usebridge = true 59 65 // packages to include in Spring bean scanning 60 66 grails.spring.bean.packages = [] 67 68 // request parameters to mask when logging exceptions 69 grails.exceptionresolver.params.exclude = ['password'] 61 70 62 71 /** -
branches/features/purchaseOrders/grails-app/conf/DataSource.groovy
r942 r946 15 15 // If nothing specified then do nothing to database schema. 16 16 17 def appNameLowerCase = appName.toLowerCase() 18 17 19 // Environment specific settings. 18 20 // All production config is in external config. … … 29 31 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 30 32 // driverClassName = "com.mysql.jdbc.Driver" 31 // username = " gnumimsadmin"32 // password = " gnumimsadmin"33 // username = "${appNameLowerCase}admin" 34 // password = "${appNameLowerCase}admin" 33 35 // dbCreate = "create-drop" 34 // url = "jdbc:mysql://host:3306/ gnumims_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB"36 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 35 37 } 36 38 } … … 46 48 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 47 49 // driverClassName = "com.mysql.jdbc.Driver" 48 // username = " gnumimsadmin"49 // password = " gnumimsadmin"50 // username = "${appNameLowerCase}admin" 51 // password = "${appNameLowerCase}admin" 50 52 // dbCreate = "update" 51 // url = "jdbc:mysql://host:3306/ gnumims_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB"53 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 52 54 } 53 55 }
Note: See TracChangeset
for help on using the changeset viewer.