javaexec, passing quotes as a part of a jvmArgs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

javaexec, passing quotes as a part of a jvmArgs

lqbweb
Hello,

I have something like:

project.javaexec {
	setMain 'ZKM'
	classpath = project.configurations.zkm  + project.configurations.compile
	args new File(project.getProjectDir(), "script.zelix").getAbsolutePath()					
	jvmArgs "-DchangeLogFiles=" + "\"C:/projectA/ChangeLog.txt\", \"C:/projectB/ChangeLog.txt\""
}

But, it seems that the escaping of the doble quotes is not working and they are just getting omitted....

How can I force it to be just there?

Thanks!!
Reply | Threaded
Open this post in threaded view
|

Re: javaexec, passing quotes as a part of a jvmArgs

Luke Daley-2
Hi, your code didn't come through.

Do you mind posting to http://forums.gradle.org?

On 06/09/2012, at 7:23 PM, lqbweb wrote:

> Hello,
>
> I have something like:
>
>
>
> But, it seems that the escaping of the doble quotes is not working and they
> are just getting omitted....
>
> How can I force it to be just there?
>
> Thanks!!
>
>
>
> --
> View this message in context: http://gradle.1045684.n5.nabble.com/javaexec-passing-quotes-as-a-part-of-a-jvmArgs-tp5710151.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
>
>

--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com


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

    http://xircles.codehaus.org/manage_email