<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,6 +15,7 @@ package liquibase.dsl.parser.groovy
 //    You should have received a copy of the GNU Lesser General Public License
 //    along with Liquibase-DSL.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
 //
+import grails.util.Environment
 import liquibase.*
 import liquibase.parser.*
 import liquibase.exception.*
@@ -32,6 +33,7 @@ class GroovyChangeLogParser implements ChangeLogParserImpl {
 		def txt = fileOpener.getResourceAsStream(physicalChangeLogLocation).text
 		def out = new GroovyDatabaseChangeLog(physicalChangeLogLocation, db);
 		out.fileOpener = fileOpener;
+		out.grailsEnv = Environment.current.name
 		try {
 			Eval.me(&quot;databaseChangeLog&quot;, { Map props=[:], Closure closure -&gt; 
         props.entrySet().each { out[it.key] = it.value }</diff>
      <filename>src/groovy/liquibase/dsl/parser/groovy/GroovyChangeLogParser.groovy</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5efa404a249c50edd4edc4d2280a7f6b4ea4637a</id>
    </parent>
  </parents>
  <author>
    <name>Peter Ledbrook</name>
    <email>peter@cacoethes.co.uk</email>
  </author>
  <url>http://github.com/RobertFischer/autobase/commit/52f85048d8331c6269b7af7dce0e0b7355824a58</url>
  <id>52f85048d8331c6269b7af7dce0e0b7355824a58</id>
  <committed-date>2009-11-11T11:01:29-08:00</committed-date>
  <authored-date>2009-11-10T12:12:33-08:00</authored-date>
  <message>You can now reference a grailsEnv variable from within your Groovy
changelog file. This allows you to include environment-specific migration
scripts, e.g.

  includeXml(&quot;./migrations/baseline-${grailsEnv}.xml&quot;)</message>
  <tree>57d6fb9b64117fe76fbdcbb18b348dff0776e3d0</tree>
  <committer>
    <name>Robert Fischer</name>
    <email>robert.fischer@smokejumperit.com</email>
  </committer>
</commit>
