mxhdev / SQLChecker

GNU General Public License v3.0
1 stars 1 forks source link

Make application independent #10

Closed mxhdev closed 8 years ago

mxhdev commented 8 years ago

The application should also be usable from outside eclipse. There are 2 possible ways to achieving this:

  1. Console interface with various parameters. Those parameters should be well documented (Less coding, more documenting)
  2. A GUI which allows to set-up all paths and maybe view results (More coding, less documenting)
mxhdev commented 8 years ago

Regarding...

  1. Console interface with various parameters. Those parameters should be well documented

This might be difficult to use if there are many (>3?) parameters. Maybe just passing along a single config file which defines all parameters is easier for the end user

mxhdev commented 8 years ago

Option 1 will be used. In order to keep the console command small, all the settings get passed to the application as a .properties file. These settings can either be overwritten by appending re-assignments at the end of the file or at the end of the console command.

The hierarchy is as follows:

  1. The config file - from top to bottom (if a setting is defined multiple times, then the last occurence in the file will be used
  2. Additional console parameters. These get applied after applying the settings from the .properties file. Again, the last occurance of a setting is the one which gets used.
mxhdev commented 8 years ago

This issue was fixed with commit #1a9303b