From: Roger B. <ro...@ro...> - 2012-01-03 07:30:10
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/01/12 18:21, Roger Binns wrote: > I then run using java -cp Cobertura.jar > -Dnet.sourceforge.cobertura.datafile=..path.. -jar myfile.jar my args It turns out that if you specify -jar and also go to the trouble of specifying -cp then they do the only logical thing - completely ignore what you specify as a classpath despite having gone to the trouble of making one. Addressing that fixed the issue but led to the next one which is that Cobertura unilaterally prints gunk to stdout which is a big problem for a command line tool. I was able to delete those lines from the source and rebuild, but that sort of thing should really not happen or be configurable. Also entered a bug in the tracker although it looks rather neglected. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8CrnsACgkQmOOfHg372QR1owCeIeACIRB/n/UZQ/V/PqbQgO2E HgUAoNZuHbDALm86oECmA/DgxpPLghg1 =aimC -----END PGP SIGNATURE----- |