...
Running a Specific LCSim Release
...
How to Run a Release
Running your job with the lcsim jar is straightforward. Download the bin jar from the repository and use the java command to execute your steering file.
...
The steering file must be provided by the user, of course.
Old Way to Run a Release
Warning | ||
---|---|---|
| ||
This section is out of date. Running a jar is now done using the bin jar, not a zip file. Those who need to run older versions of lcsim for some reason may need to follow these instructions if the bin jar is not present in the lcsim maven repository. |
Older builds (1.4 for instance) may use this run procedure.
When an LCSim release is made, a zip file is created containing the LCSim jar and all its dependencies. Running a specific version of LCSim from the command line is as simple as downloading this zip file, unzipping it, and using the java command to run the jar with your XML input.
Retrieve the dependencies jar for the version you want to run.
No Format |
---|
wget http://www.lcsim.org/maven2/org/lcsim/lcsim/1.4/lcsim-1.4-deps.zip
|
You can also paste this URL into your browser, and a prompt should show asking whether to download it. (Specifics depend on your browser.)
Now, unzip the dependencies jar. All the jars will show up in a directory called lib/ in your current directory.
No Format |
---|
unzip lcsim-1.4-deps.zip
|
This uses the command line zip utility, but a zip program with a GUI such as WinZip or WinRar would work fine, too.
We're ready to run this version of lcsim. This step requires java 1.5 or greater to be installed and accessible from your command terminal.
No Format |
---|
java -server -jar ./lib/lcsim-1.4.jar ./myJob.lcsim
|
Each release is also tagged in the cvs, like lcsim-1_4, so checking it out and rebuilding yourself is another possibility. (Not covered here.)