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

Re : How to tag a database with liquibase 3.2.0 ?

$
0
0
I also received a null pointer using the tag database command, running with Ant.  But checking the DATABASECHANGELOG file I see that it did apply the tag I gave.
Buildfile: C:\Production\jboss_emr\g2\build-ci.xml
tag-database:
[tagDatabase] WARNING 7/8/14 10:09 AM: liquibase: Can not use class liquibase.ext.hibernate.database.HibernateSpringDatabase as a Liquibase service because org.springframework.beans.factory.support.BeanDefinitionRegistry is not in the classpath
[tagDatabase] INFO 7/8/14 10:09 AM: liquibase: Successfully acquired change log lock
[tagDatabase] INFO 7/8/14 10:09 AM: liquibase: Successfully released change log lock

BUILD FAILED
C:\Production\jboss_emr\g2\build-ci.xml:383: liquibase.exception.DatabaseException: java.lang.NullPointerException

Total time: 5 seconds
Here's my ant target.

    <target name="tag-database">
        <tagDatabase
                driver="${database.driver}"
                url="${database.url}"
                username="${database.username}"
                password="${database.password}"
                classpathref="g2.classpath"
                tag="R1.0"
                >
        </tagDatabase>
    </target>

All of the properties and references used work in my updateDatabase target so those are correct.


Viewing all articles
Browse latest Browse all 2993

Trending Articles



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