Ignore:
Timestamp:
May 19, 2011, 2:05:50 AM (13 years ago)
Author:
gav
Message:

Simplify BuildConfig since with external config environment base war files are no longer required.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BuildConfig.groovy

    r913 r933  
    22grails.project.test.class.dir = "target/test-classes"
    33grails.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"
     5grails.project.war.file = "target/${appName}.war"
    196
    207grails.war.resources = { stagingDir, args ->
Note: See TracChangeset for help on using the changeset viewer.