|
| static void | main (final String[] args) |
| |
This is just a simple class to use as main class in jar-file releases.
- Author
- mrieser
Definition at line 34 of file ReleaseInfo.java.
◆ main()
| static void org.matsim.run.ReleaseInfo.main |
( |
final String [] |
args | ) |
|
|
static |
Definition at line 36 of file ReleaseInfo.java.
39 String revision = null;
41 URL url = ReleaseInfo.class.getResource(
"/revision.txt");
43 try (BufferedReader reader =
new BufferedReader(
new InputStreamReader(url.openStream(), StandardCharsets.UTF_8))) {
44 revision = reader.readLine();
45 date = reader.readLine();
46 }
catch (IOException e) {
53 System.out.println(
"MATSim");
54 System.out.println(
" Multi-Agent Transport Simulation Toolkit");
55 if (revision == null) {
56 System.out.println(
" Build: unknown");
58 System.out.println(
" Build: " + revision +
" (" + date +
")");
62 System.out.println(
"Copyright (C) 2012 by");
63 System.out.println(
" Kay W. Axhausen, Michael Balmer, Christoph Dobler, Thibaut Dubernet,");
64 System.out.println(
" Dominik Grether, Andreas Horni, Gregor Laemmel, Nicolas Lefebvre,");
65 System.out.println(
" Fabrice Marchal, Konrad Meister, Kai Nagel, Andreas Neumann,");
66 System.out.println(
" Marcel Rieser, David Strippgen, Rashid Waraich, Michael Zilske,");
67 System.out.println(
" Technische Universitaet Berlin (TU-Berlin) and");
68 System.out.println(
" Swiss Federal Institute of Technology Zurich (ETHZ)");
70 System.out.println(
"This program is distributed under the Gnu Public License (GPL) 2 and");
71 System.out.println(
"comes WITHOUT ANY WARRANTY.");
72 System.out.println(
"Please see the files WARRANTY, LICENSE and COPYING in the distribution.");
The documentation for this class was generated from the following file: