Hi, FOP behaviour has changed in trunk, regarding the -v option.
With 0.95 version (and earlier), version is displayed and the transformation starts. With trunk post 0.95, FOP halt after the version is displayed. The old behaviour was usefull when testing 1 fop version vs 1 other, to see what version was Actually used. Now, to do the same we have to invoke FOP twice: 1 for -v information, 1 for PDF transfo. Personnally, I prefer the previous behaviour (show version --if requested-- and continue). Pascal > -----Message d'origine----- > De : Vincent Hennebert [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 19 novembre 2008 11:58 > > Hi Hugues, > > Andreas Delmelle wrote: > > On 18 Nov 2008, at 20:57, HLeonardi wrote: > > > > Forgot the second part: > >> 2/ If I launch a pdf transformation with -v option in command line: > >> > >> [EMAIL PROTECTED]:/media/echanges/GDeL/fop-trunk$ ./fop -v > -fo test.fo -pdf > >> test.pdf > >> FOP Version svn-trunk > >> > >> fop version is returned but the transformation does not start. > > > > No bug, if I'm correct. This is simply meant to check which > version is > > used if you would run from that command-line (a bit like 'java > > -version'). It is supposed to print the version, then exit. > > Just curious: did you expect FOP to give the version and > proceed, or to > run in verbose mode? > > In the first case, as Andreas said, FOP's behaviour is to be expected > since it's similar to the java command. In the second case... > well, it's > not surprising since most tools indeed use -v for verbose. If nobody > objects I'm going to rename this option into -version to avoid the > confusion. > > Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
