Re: [VFS] unexpected 'relative path' in verify.groovy

2021-04-25 Thread Bernd Eckenfels
@commons.apache.org ; Benjamin Marwell Betreff: Re: [VFS] unexpected 'relative path' in verify.groovy Okay, the exact error message is: Could not find file with URI "tar:file:home/user/git/apache/vfs-invoker-groovy/target/it/vfs-it/target/dependency/vfs-invoker-groovy-1.0

Re: [VFS] unexpected 'relative path' in verify.groovy

2021-04-25 Thread Benjamin Marwell
Okay, the exact error message is: Could not find file with URI "tar:file:home/user/git/apache/vfs-invoker-groovy/target/it/vfs-it/target/dependency/vfs-invoker-groovy-1.0.0-SNAPSHOT.tar!/hello.txt" because it is a relative path, and no base URI was provided. In fact, adding commons-compress

Re: [VFS] unexpected 'relative path' in verify.groovy

2021-04-24 Thread Benjamin Marwell
Hi everyone, I think I figured part of it out myself. The wiki page https://cwiki.apache.org/confluence/display/COMMONS/ExtractAndDecompressGzipFiles does not mention that commons-compress is needed in the classpath. The github project has some other flaws, too. I will put in some more work. Be

[VFS] unexpected 'relative path' in verify.groovy

2021-04-24 Thread Benjamin Marwell
Hi everyone, I tried to use vfs2 in a verify.groovy script like this: def fsManager = VFS.manager def file = fsManager.resolveFile("gz:tar:${basedir}/target/dependencies/vfs-invoker-groovy-1.0.0-SNAPSHOT.tar!/hello.txt") While this works in a junit+groovy maven test case, it won’t in a