In Ant versions older than 1.9.7 there is a problem with passing arguments to JVM in case when they contain whitespace characters. For example:
-Da=b c
-Dx=z
will be interpreted as
-Da=b
c
-Dx=z
In case you encounter this problem, enable this toggle to pass arguments' values in double quotes, for instance:
-Da="b c"
-Dx=z