...
Recursively translate the detector name using alias files. The alias files are property files An alias file is a property file named alias.properties that is stored in one or more of the following locations.
- The user home directory.
alias.propertiesNo Format ~/.lcsim/
- Within alias.properties stored in the lcsim.jar file itself in the path .
alias.propertiesNo Format org/lcsim/detector/
- At a URL on the LCSim website.
No Format http://www.lcsim.org/detectors/
Your custom aliases belong at
No Format |
---|
~/.lcsim/alias.properties |
as this is likely the only place to which you'll have write access.
Once this translation is complete, the resulting name is checked as follows.
- If the name is a URL with a file: protocol, the file or directory specified is assumed to contain the conditions.
Here is an example zipfile location.
Here is an example directory.No Format sdjan03: file:/path/to/sdjan03.zip
No Format sdjan03: file:/path/to/sdjan03
- If the name is a remote URL then an attempt is made to download a zip file from that location (if the zip file is already in the local cache and up-to-date it is used from there).
This is an example URL.No Format http://www.example.com/path/to/sdjan03.zip
- If the name is not a URL, we search for a directory or zip file with that name in the following locations:
- ~/.lcsim/detectors
- In Within the lcsim.jar file itselfat
No Format /org/lcsim/detector/
- At In
No Format http://www.lcsim.org/detectors/
...