Unable to obtain resource from Configuration.hbm.xml ZipException

I am trying the following:


  1.        
                 
                     
               
                 
                     
               
           
           
               
           
            <diffDatabaseToChangeLog
                    driver="${database.driver}"
                    url="${database.prosoc}"
                    referenceUrl="hibernate:hibernate-auto-generator\prosoc-hibernate.cfg.xml"
                    username="${sql.user}"
                    password="${sql.pass}"
                    referenceUsername="${sql.user}"
                    referencePassword="${sql.pass}"
                    outputFile="D:\gavin\work\mercurial\prosoc\prosoc\build\db-changelog.xml"
                    classpathref="liquibase-classpath">
           
       

and getting:


Unable to obtain resource from D:\gavin\work\mercurial\prosoc\prosoc\src\prosoc-core\uk\co\prodia\prosoc\domainmodel\ProsocConfiguration.hbm.xml: java.util.zip.ZipException: error in opening zip file
Unable to obtain resource from D:\gavin\work\mercurial\prosoc\prosoc\src\prosoc-core\uk\co\prodia\prosoc\domainmodel\ProsocConfiguration.hbm.xml:
java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.(ZipFile.java:127)
    at java.util.jar.JarFile.(JarFile.java:135)
    at java.util.jar.JarFile.(JarFile.java:99)
    at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1002)
    at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:145)
    at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextElement(AntClassLoader.java:130)
    at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration.nextElement(CollectionUtils.java:241)


 


Sorry, I had the wrong paths in hibernate.cfg.xml. I hate Hibernate.