groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <>
Subject RE: [ANN] Groovy VFS 1.0 Beta 3
Date Wed, 24 Jun 2015 14:32:29 GMT
This is really cool. It looks like jsch is the base of SSH support - is it possible to use
jsch-agent-proxy to authenticate via pageant/ssh-agent? I couldn't see anything obvious here


From: Schalk Cronjé []
Sent: Wednesday, June 24, 2015 9:38 AM
Subject: [ANN] Groovy VFS 1.0 Beta 3

Finally got around to make the third 1.0 pre-release of Groovy VFS available.

Beta 3, in addition to Beta 1,2  includes:

- Ant-style patterns. When copying files it is possible to do something like
vfs {
cp 'sftp://user:pass@server/folder', 'ftp://other.server/pub',
recursive: true, overwrite: true,

filter : antPattern {
  include 'file.txt'
  include '**/*.jpg'
  exclude '**/foo*.jpg'
- This means that the newly-added VfsCopy task for the associated Gradle plugin will be able
to do the same and thereby mimic existing Copy task behaviour

- Website (Yes, it has one now, all built with Asciidoctor):

- Codebase:<>

Beta 3, already included:

- Use of 'uri' keyword to disambiguate URIs on certain circumstances

- resolveURI is now public method, making it available to the DSL and for people who need
an easy way of getting hold of the underlying Apache VFS FileObject instance.

- Ability to send arbitrary text to a remote file (from feedback at Gro0vy-Grails Exchange
vfs {
overwrite 'sftp://user:pass@server/file' with 'this text'

append 'sftp://user:pass@server/file' with 'this text'

overwrite 'sftp://user:pass@server/file' with 'this text', {
// Closure takes an OutputStream
it << 'text'
- cmdline vfs: mkdir now supports GNU options -p, --parents

- cmdline vfs: mv now supports non-GNU option --parents

- Codebase:<>

- Those who would like to try out the command-line version, get it at

Beta 1 already included:

- Ability to load additional providers via an 'extend' keyword in the DSL

extend { provider className: '', schemes:
['s3'] }
- SMB provider based upon jCIFS. (Thanks to Maarten Boekhold for trying out the initial codebase
some time ago)

- S3 provider based on jClouds. This will give the ability to provide VFS support to other
cloud offerings too.

- Command-line utility mimicking GNU 'cp'. 'mv', 'mkdir', 'ls' and 'cat' commands.

- Gradle plugin built against v2.0 utilising Groovy 2.3.x and as such now using @CompileStatic

- Ability to turn off intermediates creation when creating a directory

I expect for some bugs to appear especially in SMB & S3 support, so please feel free to
log them at


Schalk W. Cronjé

Twitter / Ello / Toeter : @ysb33r

This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.

View raw message