Library of Congress BagIt Library 3.1 Released

31 views
Skip to first unread message

Brian Vargas

unread,
Sep 14, 2009, 11:13:34 AM9/14/09
to digital-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

All,

Just a quick note that the Library of Congress has released the latest
BagIt Library version 3.1 to SourceForge.

https://sourceforge.net/projects/loc-xferutils/

Have a great one!

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: What is this? http://pgp.ardvaark.net
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREDAAYFAkquXZ4ACgkQ3YdPnMKx1ePBnwCgmNiX5Ld1y4tI7NIwqwcA4sOK
EskAoNJIGO5ocv6UXdXxHw0EALaJQiu2
=XBXc
-----END PGP SIGNATURE-----

edwardiglesias

unread,
Nov 3, 2009, 11:06:37 AM11/3/09
to Digital Curation
Has anyone gotten this relaese to work on a mac? I downloaded the
latest version of Java for Mac

-bash: javaa: command not found
$ java -version
java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-
b02-315)
Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)
$

but still get

$ ./bag
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect
(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass
(DefaultClassRealm.java:255)
at org.codehaus.classworlds.Launcher.getMainClass
(Launcher.java:169)
at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:292)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
$

On Sep 14, 10:13 am, Brian Vargas <br...@ardvaark.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> All,
>
> Just a quick note that the Library of Congress has released the latest
> BagIt Library version 3.1 to SourceForge.
>
> https://sourceforge.net/projects/loc-xferutils/
>
> Have a great one!
>
> Brian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: What is this?http://pgp.ardvaark.net
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/

Brian Vargas

unread,
Nov 3, 2009, 1:02:04 PM11/3/09
to digital-...@googlegroups.com
Edward,

BIL requires Java 1.6, and it looks like you're running Java 1.5. Java
1.6 has been out for quite some time now; is there really no later
version for the Mac?

Brian

On Nov 3, 2009, at 11:06, edwardiglesias <edwardi...@gmail.com>
wrote:

Andy Boyko

unread,
Nov 3, 2009, 1:19:42 PM11/3/09
to digital-...@googlegroups.com
On OS X 10.6 ("Snow Leopard"), which requires an Intel-based Mac, Java 1.6 is the only version available.

On OS X 10.5 ("Leopard"), Java 1.5 is the default; 1.6 is also present on 64-bit Intel systems (most Macs from the last several years). You can change the default Java version used by command-line tools with /Applications/Utilities/Java Preferences. (You can invoke Java 1.6 directly with '/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java'.)

-Andy

Edward Iglesias

unread,
Nov 3, 2009, 2:10:03 PM11/3/09
to digital-...@googlegroups.com
Thanks for the help.

Usage: bag <operation> [operation arguments] [--help]
Parameters:
    <operation>
        Valid operations are: baginplace, bob, checkpayloadoxum, create, generatepayloadoxum, makecomplete, makeholey, retrieve, sword, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid.
        Operation explanations:
            baginplace: Creates a bag-in-place.  The source must be a directory on a filesystem and may already have a data directory.
            bob: Sends a bag using BOB.
            checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt.
            create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format.
            generatepayloadoxum: Generates and returns the Payload-Oxum for the bag.
            makecomplete: Completes a bag and then writes in a specified format.  Completing a bag fills in any missing parts.
            makeholey: Generates a fetch.txt and then writes bag in a specified format.
            retrieve: Retrieves any missing pieces of a bag specified in the fetch.txt.
            sword: Sends a bag using SWORD.
            updatetagmanifests: Updates the tag manifests for a bag.  The bag must be unserialized.
            verifycomplete: Verifies the completeness of a bag.
            verifypayloadmanifests: Verifies the checksums in all payload manifests.
            verifytagmanifests: Verifies the checksums in all tag manifests.
            verifyvalid: Verifies the validity of a bag.
    [--help]
        Prints usage message for the operation.
Examples:
    bag verifyvalid --help
        Prints help for the verifyvalid operation.
Returning success.

Now I just have to figure out how to use the thing.

Edward Iglesias
Reply all
Reply to author
Forward
0 new messages