I have been using Liquibase 2.0.2 and it has been great! Thanks for the wonderful tool.
However, after upgrade to 3.3.0, liquibase start to fail on JBoss EAP 6, when trying to load osgi jar file. I think it is because JBoss use vfs to load file and so does the classpath:
vfs:/E:/JAVA/JBOSS/EAP-6.0.0.GA/jboss-eap-6.0/standalone/deployments/My.App.version.01.war/WEB-INF/lib/liquibase-osgi-3.3.0-SNAPSHOT.jarSo when org.liquibase.util.FileUtl tries to open the jar file
File tempDir = File.createTempFile("liquibase-unzip", ".dir");
JarFile jarFile = new JarFile(zipFile);
please note the zip file is "vfs:/E:/JAVA/JBOSS/EAP-6.0.0.GA/jboss-eap-6.0/standalone/deployments/My.App.version.01.war/WEB-INF/lib/liquibase-osgi-3.3.0-SNAPSHOT.jar"
then it throws an error:
vfs:/E:/JAVA/JBOSS/EAP-6.0.0.GA/jboss-eap-6.0/standalone/deployments/My.App.version.01.war/WEB-INF/lib/liquibase-osgi-3.3.0-SNAPSHOT.jar' for classes due to an IOException: vfs:\E:\JAVA\JBOSS\EAP-6.0.0.GA\jboss-eap-6.0\standalone\deployments\My.App.version.01.war\WEB-INF\lib\liquibase-osgi-3.3.0-SNAPSHOT.jar (The filename, directory name, or volume label syntax is incorrect)
I am sure the file exist in the classpath however either Jboss or liquibase failed to load the file.
please help thanks