From: Didier B. <d....@fr...> - 2009-11-04 14:02:55
|
-----Original Message----- >From: Asier Sarasua [mailto:asa...@vi...] >Sent: Wednesday, November 04, 2009 2:18 PM >To: ome...@li... >Subject: [OmegaT-l10n] Small correction for the manual: Java Web Startadmits arguments >Hi, I am translating the manual to Basque, and I've seen an statemet >that is not correct regarding Java Web Start: >"Note that if you need any launch command arguments (see above), you >will have to use the normal installation." > >In fact, you CAN use arguments when launching OmegaT from Java Web >Start. For instance, I have the following command in my OmegaT icon: > >C:\WINDOWS\system32\javaws.exe -offline -J-Duser.language=EU >-J-Dawt.useSystemAAFontSettings=gasp "C:\Documents and >Settings\u706000j\Datos de >programa\Sun\Java\Deployment\cache\6.0\40\5bb0c68-5a1fc333" > >Where strings after "-J" would be the arguments. > >Maybe it's worth mentioning in the manual. Thank you for the information. It is useful, and it is certainly worth documenting somewhere (I didn't even know myself about the -J option). Note that it works only with the cached version of the Java Web Start OmegaT. If one launches the .jnlp link rather than the locally created shortcut, there is still no possibility to specify command line arguments. If one users the cached version, I have noticed that the automatic updates tend to not be very reliable. >From time to time, the user will have to either use the .jnlp link, and/or to clear the cache manually, which means re-adding each time the command-line arguments to the shortcut. Didier |