Setting an arbitrary property in the build's object model (which is only
constructed in the build's evaluation phase) is very different from setting
a fixed command-line parameter. As I said, the main reason why this feature
is not there yet is that it's still unclear how to implement it. Typically,
this limitation can be worked around by adding a few lines of code that map
system or project properties to the desired model properties. I understand
that this is not particularly pleasing, but it gets the job done.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/passing-jvm-args-to-forked-jvm-tp5580908p5600686.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to