Skip to content

FACT Tools FAQ

Jens Buss edited this page Sep 1, 2016 · 4 revisions

How can I hand arguments to fact-tools process from command line?

Suppose we have two properties infile and drsfile in our XML.

<property name="infile" value="file:src/main/resources/testDataFile.fits.gz" /> <property name="drsfile" value="file:src/main/resources/testDrsFile.drs.fits.gz" />

Than you can change this properties from command line via their name by doing:

java -jar fact-tools.jar my_process.xml -Dinfile="<path_to_infile>" -Ddrsfile="<path_to_drs_file>"

Clone this wiki locally