aschaeffer / heideltime

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

Pass config.properties as parameter #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Force to have file config.properties in the same folder can be a problem. My 
software has already a config.properties file. Should be better to have the 
possibility to submit config file we want.

So I added a "run" function in HeidelTimeStandalone so I can provide Config 
file, file of Input and file of Ouput. I attach it if it can be useful for 
others ;)

Original issue reported on code.google.com by damien.p...@gmail.com on 25 May 2012 at 8:55

Attachments:

GoogleCodeExporter commented 9 years ago
Hey and thanks for the issue report.

Jannik and I like the idea, so I've committed an initial implementation in 
r833a83a4bf6e. We'll likely release it as part of version 1.3, but before that 
happens, we'll have to play around with it a bit more to make sure that it 
works in all scenarios.

I added a command line switch "-c" that is to be followed by the configuration 
file's relative or absolute path and filename, like such:

java -jar de.unihd.dbs.heideltime.standalone.jar myfile.txt -c 
some/folder/heideltime.props

If you have any more input on this or any issue, please let us know.

Original comment by jul...@gmail.com on 25 May 2012 at 3:35

GoogleCodeExporter commented 9 years ago
thanks for the quick answer!
yes like that's better :)

Original comment by damien.p...@gmail.com on 25 May 2012 at 7:51

GoogleCodeExporter commented 9 years ago
r04ea9c3368aa contains code changes that help the standalone access paths 
outside of those in the classpath.

Testing so far has shown no other issues.

Original comment by jul...@gmail.com on 27 Jun 2012 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by j.z...@stud.uni-heidelberg.de on 18 Apr 2013 at 10:10