On Mon, 14 Jun 2010 16:47:11 +0300, Georg Datterl <[email protected]> wrote:

The ant task has to start a java VM, too. You just have to find out, where the VM is started and set the switch there.

In case you don't want to dig into ant or fop startup scripts, a quick and dirty solution is to set the environment variable JAVA_TOOL_OPTIONS to have value -Xincgc This environment variable will be picked up by any jvm, even embedded ones. Its contents will be prepended to jvm startup options.



       ::Antti::


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to