Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
C:vfs> set REP=\Users\USERNAME\.m2\repository
C:vfs> set LIBS=%REP%\commons-logging\commons-logging\1.2\commons-logging-1.2.jar
C:vfs> set LIBS=%LIBS%;%REP%\commons-net\commons-net\2.2\commons-net-2.2.jar
C:vfs> set LIBS=%LIBS%;core\target\commons-vfs2-2.1.jar;examples/target/commons-vfs2-examples-2.1.jar
C:vfs> java -cp $LIBS org.apache.commons.vfs2.example.Shell
VFS Shell 2.1
> info
Info about default manager "org.apache.commons.vfs2.impl.StandardFileSystemManager":
  Provider Schemes: [res, ram, ftps, file, ftp, tmp]
   Virtual Schemes: [gz, zip, war, par, ear, jar, sar, ejb3]
> ls ftp://ftp.fau.de/apache/commons/vfs/
Contents of ftp://ftp.fau.de/apache/commons/vfs
HEADER.html
README.html
RELEASE_NOTES.txt
binaries/
source/

Loading resources from the classpath:

No Format

VFS Shell 2.1
> ls -R res:META-INF/maven/
Contents of jar:file:///C:/ws/asf/commons-vfs2-project/core/target/commons-vfs2-2.1-SNAPSHOT.jar!/META-INF/maven
org.apache.commons/
    commons-vfs2/
        pom.properties
        pom.xml
> cat res:META-INF/maven/org.apache.commons/commons-vfs2/pom.properties
#Generated by Maven
#Fri Jan 09 02:48:03 CET 2015
version=2.1-SNAPSHOT
groupId=org.apache.commons
artifactId=commons-vfs2