Classic LOCKSS Daemon
This is the source tree for the classic LOCKSS daemon (version 1.x). See https://www.lockss.org/ for information about the LOCKSS Program.
A one-time copy can be obtained with Wget or Curl:
# With Wget wget https://github.com/lockss/lockss-daemon/archive/master.zip # With Curl curl -L -o master.zip https://github.com/lockss/lockss-daemon/archive/master.zip
A buildable snapshot can be obtained by cloning the
# GitHub account with SSH key git clone --depth 1 --branch master email@example.com:lockss/lockss-daemon.git # Anonymous git clone --depth 1 --branch master https://github.com/lockss/lockss-daemon.git
To obtain a local copy of the LOCKSS daemon Git repository, you can use the
git clone command to establish the repository:
# GitHub account with SSH key git clone firstname.lastname@example.org:lockss/lockss-daemon.git # Anonymous git clone https://github.com/lockss/lockss-daemon.git
You can subsquently use
git pull to update.
For development purposes, you will need:
Apache Ant 1.7.1 or later.
Some tools require Python 2.7 (invoked as
Some tools require Python 3.2 (invoked as
python3) or greater.
- In order to process split Zip files at runtime, the command-line
zipprogram must be installed. (Most Linux systems have
unzipinstalled by default, or they can be installed easily from the software package manager.)
JUnit 3.8.1 is included in the LOCKSS source distribution, but the Ant targets that invoke JUnit (
test-xxx) require the JUnit JAR to be on Ant's
CLASSPATH. The easiest way to do this is to copy
For some of the tools, the
JAVA_HOMEenvironment variable must be set to the directory in which the JDK is installed, i.e.it is expected that
tools.jarcan be found in
Some of the tests also require the command line
zipprogram to be installed.
ant test-all Builds the system and runs all unit tests ant test-one -Dclass=org.lockss.foo.TestBar Builds the system and runs the given JUnit test class ant -projecthelp ant -p Lists other build options
See the LOCKSS documentation portal at https://lockss.github.io/.