main
public static void main(String[] args)
throws Exception
Starts the jSCSI target.
Argument one has to be an empty (or already created) storage folder!
Argument to can be additionally added if you don't want the default target configuration.
It has to be conform with the default target configuration schema file, which you can find
in the resources of the target.
- Parameters:
args
- storagePath= | If using an existing storage, make sure not to pass a backend
implementation or revisioning implementation again.
targetConfiguration= | This usually is an .xml-File that
corresponds to the one that can be found in the sources.
backendImplementation= | E.g.: org.treetank.io.combined.CombinedStorage
(which also is default)
revisioningImplementation= | E.g.:
org.treetank.revisioning.SlidingSnapshot (which also is default)
- Throws:
Exception