SUNScholar/Metadata/Batch Edit/SAFBuilder

From Libopedia
Jump to navigation Jump to search
Back to Batch Edit
Back to Interoperability

Introduction

SAFBuilder allows you to bulk upload items to DSpace. Please see the following documentation etc.. for help.

SAFBuilder guide to convert CSV files to SimpleArchiveFormat in order to import to DSpace (2018)

The instructions given on the repository page is sufficient for use on Linux, but the Windows procedure is more involved and will be documented here.

Install the JDK

To start, download the latest JDK (Not JRE) from the Oracle website. Install the JDK, and once the installation has completed, copy the C:\Program Files\Java\jdk-<version> directory to C:\jdk-version. Some tools do not handle spaces in paths well, which is why we move everything to C:\ to reduce the chances of running into this incompatibility.

Install Maven

Now download Maven 3 from your local Apache mirror. Choose the latest binary version, it will contain -bin in the filename. Now extract the zip and move the contents to C:\maven.

Set the required environment variables

Once Java and Maven have successfully been installed, create the following system wide environment variables:

  • JAVA_HOME: C:\jdk-<version>
  • MAVEN_HOME: C:\maven
  • M2_HOME: C:\maven

And additionally add the maven bin directory to the system PATH:

C:\maven\bin

To test that these variables have been set correctly, open a new command prompt and run:

maven --version

Install SAFBuilder

Download the source code and extract the contents to C:\SAFBuilder

Now open a command prompt in the same directory and run:

safbuilder.bat

Help Videos

Watch the batch import via XMLUI using the SAFBuilder videos.



Help Documentation

Software

References