Inject tool version

girardotgirardot Heidelberg, GermanyMember

Hi all,

I am using Picard and htsjdk 1.135 to develop my own command line tools. In particular I am extending CommandLineProgram.java.
My problem is I can t get my own tool version properly injected. Looking at the code I thought I could do this but overwriting the getVersion() method, but this does not work. I am always getting "Version: null" in the usage printout.

From the code, I understand the tool version is somehow extracted from the Manifest file but I am not sure how to do this myself ?

Hints welcome.

Best wishes

Charles

Answers

Sign In or Register to comment.