Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 76898 invoked from network); 18 May 2005 19:13:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2005 19:13:43 -0000 Received: (qmail 51619 invoked by uid 500); 18 May 2005 18:29:27 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 51539 invoked by uid 500); 18 May 2005 18:29:25 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 51395 invoked by uid 500); 18 May 2005 18:29:22 -0000 Received: (qmail 51138 invoked by uid 99); 18 May 2005 18:29:20 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 18 May 2005 11:29:18 -0700 Received: (qmail 56982 invoked by uid 65534); 18 May 2005 18:29:10 -0000 Message-ID: <20050518182910.56981.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r170789 - in /jakarta/commons/sandbox/vfs/trunk/xdocs: download.xml filesystems.xml Date: Wed, 18 May 2005 18:29:10 -0000 To: commons-cvs@jakarta.apache.org From: imario@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: imario Date: Wed May 18 11:29:09 2005 New Revision: 170789 URL: http://svn.apache.org/viewcvs?rev=3D170789&view=3Drev Log: added tar, tbz2, tgz and res documentation updated dependency ist Modified: jakarta/commons/sandbox/vfs/trunk/xdocs/download.xml jakarta/commons/sandbox/vfs/trunk/xdocs/filesystems.xml Modified: jakarta/commons/sandbox/vfs/trunk/xdocs/download.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/vfs/trunk/xdocs/= download.xml?rev=3D170789&r1=3D170788&r2=3D170789&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- jakarta/commons/sandbox/vfs/trunk/xdocs/download.xml (original) +++ jakarta/commons/sandbox/vfs/trunk/xdocs/download.xml Wed May 18 11:29:0= 9 2005 @@ -80,6 +80,14 @@ SFTP + + + Commons Compress Nightly build 20040530
+ There are no other nigtlies than the one I created= for maven, so please download it from the link below until this changes: + http://www.ibiblio.org/maven/com= mons-compress/jars/commons-compress-20040530.jar + + tar, bz2 +
Modified: jakarta/commons/sandbox/vfs/trunk/xdocs/filesystems.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/vfs/trunk/xdocs/= filesystems.xml?rev=3D170789&r1=3D170788&r2=3D170789&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- jakarta/commons/sandbox/vfs/trunk/xdocs/filesystems.xml (original) +++ jakarta/commons/sandbox/vfs/trunk/xdocs/filesystems.xml Wed May 18 11:2= 9:09 2005 @@ -32,11 +32,14 @@ WebDAV
  • - Zip and Jar + Zip, Jar and Tar (uncomp= ressed, tgz or tbz2)
  • gzip and bzip2
  • +
  • + res +
  • =20 @@ -107,9 +110,9 @@ =20 -
    +
    =20 -

    Provides read-only access to the contents of Zip and Jar fi= les.

    +

    Provides read-only access to the contents of Zip, Jar and T= ar files.

    =20

    URI Format @@ -117,23 +120,42 @@ =20

    zip:// - zip-file-uri[! + arch-file-uri[! absolute-path]

    jar:// - zip-file-uri[! + arch-file-uri[! + absolute-path] + +

    +

    + tar:// + arch-file-uri[! + absolute-path] + +

    +

    + tgz:// + arch-file-uri[! + absolute-path] + +

    +

    + tbz2:// + arch-file-uri[! absolute-path]

    =20

    Where - zip-file-uri refers to a file of any + arch-file-uri refers to a file of any supported type, including other zip files. Note: if you w= ould like to use the ! as normal character it must be escaped - using %21. + using %21.
    + tgz and tbz2 are convenience for= tar:gz and tar:bz2.

    =20

    @@ -152,6 +174,12 @@

  • jar:zip:outer.zip!/nested.jar!/some%21dir
  • +
  • + tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.ta= r!/path/in/tar/README.txt +
  • +
  • + tgz:file://anyhost/dir/mytar.tgz!/somepath/somef= ile +
  • =20
    @@ -380,6 +408,36 @@
    • tmp://dir/somefile.txt +
    • +
    +
    + +
    + +

    + This is not really a filesystem, it just tries to lookup a= resource using javas ClassLoader.getResource() + and creates a VFS url for further processing. +

    + +

    + RES Format +

    + +

    + res://[ + path] + +

    + +

    + Examples +

    + +
      +
    • + res:path/in/classpath/image.png
      + might result in + jar:file://my/path/to/images.jar!/path/in/classp= ath/image.png
    --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org