https://github.com/bmarwell/vfs2-verify-invoker
unexpected error of vfs2 in invoker's verify script
https://github.com/bmarwell/vfs2-verify-invoker
Last synced: 3 months ago
JSON representation
unexpected error of vfs2 in invoker's verify script
- Host: GitHub
- URL: https://github.com/bmarwell/vfs2-verify-invoker
- Owner: bmarwell
- Created: 2021-04-24T21:13:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-25T11:29:09.000Z (about 4 years ago)
- Last Synced: 2025-04-02T01:11:09.820Z (3 months ago)
- Language: Groovy
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
vfs2 in a verify.groovy script:
[source,groovy]
----
def fsManager = VFS.manager
def file = fsManager.resolveFile("gz:tar:${basedir}/target/dependencies/vfs-invoker-groovy-1.0.0-SNAPSHOT.tar!/hello.txt")
----When run without commons-compress, the exception message is:
[source,groovy]
----
org.apache.commons.vfs2.FileSystemException: Could not find file with URI "tar:/home/user/git/apache/vfs-invoker-groovy/target/it/vfs-it/target/dependency/vfs-invoker-groovy-1.0.0-SNAPSHOT.tar" because it is a relative path, and no base URI was provided.
----run this command to get a build log:
[source,bash]
----
mvn verify -Prun-its
----to get the build output on the command line:
[source,bash]
----
mvn verify -Prun-its -DstreamLogs=true
----