Support loading config from a system property

Refactor config loading support into its own static utility method.
Prefer servlet config parameters where available, then fall back to a
system property, then a default filename (gitiles.config in the
working directory).

Change-Id: I90c734dda3d1e582dbee52efede6b688c9197f14
2 files changed
tree: 35ddbe4ea3a49fea0a0fe7ffb5a849b262744b1a
  1. .gitignore
  2. .settings/
  3. COPYING
  4. README
  5. gitiles-servlet/
  6. gitiles-war/
  7. pom.xml