Changeset 942 for branches/features/purchaseOrders/grails-app/conf
- Timestamp:
- May 22, 2011, 12:29:29 AM (13 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
- Property svn:ignore
-
old new 1 1 *.log* 2 2 *.war 3 *.iml 4 *.ipr 5 *.iws 3 6 target 7 out 4 8 .directory 5 6 *.iml
-
- Property svn:mergeinfo changed
/trunk merged: 921-923,932-936,939-941
- Property svn:ignore
-
branches/features/purchaseOrders/grails-app/conf/BootStrap.groovy
r876 r942 1 import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH 2 1 3 class BootStrap 2 4 { … … 15 17 createDataService.ensureSystemAndAdminAccess() 16 18 createDataService.createBaseData() 19 CH.config.demoMode.enabled = true 17 20 createDataService.createDemoData() 18 21 createDataService.startSearchableIndex() … … 28 31 createDataService.ensureSystemAndAdminAccess() 29 32 createDataService.createBaseData() 33 if(CH.config.demoMode.enabled) createDataService.createDemoData() 30 34 createDataService.startSearchableIndex() 31 35 } -
branches/features/purchaseOrders/grails-app/conf/BuildConfig.groovy
r920 r942 2 2 grails.project.test.class.dir = "target/test-classes" 3 3 grails.project.test.reports.dir = "target/test-reports" 4 5 def env = System.getProperty('grails.env') 6 7 switch (env) { 8 case "production": 9 //grails.project.war.file = "target/${appName}-${appVersion}.war" 10 grails.project.war.file = "target/${appName}Live.war" 11 break 12 case "development": 13 grails.project.war.file = "target/${appName}Dev.war" 14 break 15 default: 16 grails.project.war.file = "target/${appName}.war" 17 break 18 } 4 //grails.project.war.file = "target/${appName}-${appVersion}.war" 5 grails.project.war.file = "target/${appName}.war" 19 6 20 7 grails.war.resources = { stagingDir, args -> -
branches/features/purchaseOrders/grails-app/conf/Config.groovy
r924 r942 10 10 // grails.config.locations << "file:" + System.properties["${appName}.config.location"] 11 11 // } 12 13 // Local config file (development) otherwise try the classpath (production). 14 if(new File("${appName}-config.groovy").exists()) 15 grails.config.locations = [ "file:${appName}-config.groovy" ] 16 else 17 grails.config.locations = [ "classpath:${appName}-config.groovy" ] 12 18 13 19 // Set false due to acegi security issue. … … 81 87 * Basic log levels are ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF 82 88 */ 83 84 89 log4j = { 85 90 appenders { … … 404 409 ] 405 410 ] 406 407 /**408 * Custom application global settings.409 * @todo: externalise these settings to a config file (along with the database settings) or have them configurable via the web interface+database.410 */411 taskRecurringScheduleJob.repeatInterval=10412 // It is recommended to limit the currencyList to the one that the site uses e.g: currencyList = ['AUD']413 currencyList = ['EUR', 'XCD', 'USD', 'XOF', 'NOK', 'AUD', 'XAF', 'NZD', 'MAD', 'DKK', 'GBP', 'CHF', 'XPF', 'ILS', 'ROL', 'TRL']414 -
branches/features/purchaseOrders/grails-app/conf/DataSource.groovy
r881 r942 16 16 17 17 // Environment specific settings. 18 // All production config is in external config. 18 19 environments { 19 20 development { … … 51 52 } 52 53 } 53 production {54 dataSource {55 /* Delete dbCreate line after setup! */56 /** HSQLDB - In memory */57 // driverClassName = "org.hsqldb.jdbcDriver"58 // username = "sa"59 // password = ""60 // dbCreate = "create-drop"61 // url = "jdbc:hsqldb:mem:devDb"62 /** HSQLDB - In file */63 // driverClassName = "org.hsqldb.jdbcDriver"64 // username = "sa"65 // password = ""66 // dbCreate = "update"67 // url = "jdbc:hsqldb:file:prodDb;shutdown=true"68 /** MSSQL */69 //For more info see the docs that you downloaded with the driver.70 // dialect = org.hibernate.dialect.SQLServerDialect // MSSQL 2000+2005 Useful with `grails schema-export`71 // driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"72 // username = "gnumimsadmin"73 // password = "gnumimsadmin"74 // dbCreate = "update"75 // url = "jdbc:sqlserver://gnumimssql01:1433;databaseName=gnumims_prod"76 /** MySQL */77 dialect = org.hibernate.dialect.MySQL5InnoDBDialect78 driverClassName = "com.mysql.jdbc.Driver"79 username = "gnumimsadmin"80 password = "gnumimsadmin"81 dbCreate = "update"82 url = "jdbc:mysql://gnumimssql01:3306/gnumims_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"83 }84 85 }86 54 }
Note: See TracChangeset
for help on using the changeset viewer.