Changeset 933 for trunk/grails-app/conf/BuildConfig.groovy
- Timestamp:
- May 19, 2011, 2:05:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BuildConfig.groovy
r913 r933 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 ->
Note: See TracChangeset
for help on using the changeset viewer.