Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Liquibase: I'm having an error fixing the installation of Liquibase on oracle

$
0
0
here is the error saying liquibase is not recognized as an internal/external
command 


lb_update.bat code:

        @echo off call Liquibase --changeLogFile=update.xml


update.xml code:

        <?xml version="1.0" encoding="UTF-8" standalone="no"?>
        <databaseChangeLog xmlns="http://www.Liquibase.org/xml/ns/dbchangelog/1.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.Liquibase.org/xml/ns/dbchangelog/1.9                http://www.Liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
        <include file="v000/master.xml" />
        </databaseChangeLog>


master.xml code:

         <?xml version="1.0" encoding="UTF-8" standalone="no"?>
         <databaseChangeLog xmlns="http://www.Liquibase.org/xml/ns/dbchangelog/1.9"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.Liquibase.org/xml/ns/dbchangelog/1.9http://www.Liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
         <preConditions>
        <!-- These changes should only be run against a schema with major version 0 -->
        <sqlCheck expectedResult="0">
            SELECT NVL(MAX(id),0)
            FROM databasechangelog
            WHERE author='MajorVersion'
           </sqlCheck>
           </preConditions>
          <include file="v000/2009-10-15-73.xml" />
           </databaseChangeLog>       


The expected result when the lb_update.bat is executed, a confirmation message will appear saying: Migration successful. I'm just following the tutorial of Liquibase but it won't work: http://www.liquibase.org/tutorial-using-oracle

How can i fix this please help! Thanks!

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>