searope / jwpl

Automatically exported from code.google.com/p/jwpl
0 stars 0 forks source link

[RevisionMachine] Make IndexGenerator runnable from command line #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, revision indexes can only be generated by altering the settings in 
the main method of the IndexGenerator class (or by invoking index generation 
from a custom class)
It should be possible to run the IndexGenerator from the commandline.
DB-settings and output path have to be set via command line parameters or some 
config file.

Original issue reported on code.google.com by oliver.ferschke on 2 Jun 2011 at 2:09

GoogleCodeExporter commented 9 years ago
The IndexGenerator can now be run from command line. It has to be configured 
with a properties file containing the following properties:

<ul><li>host=dbhost</li>
li>db=revisiondb</li>
<li>user=username</li>
<li>password=pwd</li>
<li>output=outputFile</li>
<li>writeDirectlyToDB=true|false (optional)</li>
<li>charset=UTF8 (or others) (optional)</li>
<li>buffer=15000 (optional)</li>
<li>maxAllowedPackets=16760832  (optional)</li></ul>

Original comment by oliver.ferschke on 26 Jul 2011 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by oliver.ferschke on 16 Feb 2012 at 1:24