[Scons-users] JAVACFLAGS with double-quote, problem with javac

Bill Deegan bill at baddogconsulting.com
Sun Dec 1 17:09:37 EST 2019


Does this work?
env.Append(JAVACFLAGS = ['-target','1.7'])

On Sun, Dec 1, 2019 at 1:55 PM Pierre-Luc Boily <pierreluc.boily at gmail.com>
wrote:

> Hello,
>
> While I was playing with Java builder, I realized that when we pass an
> argument with a space to JAVACFLAGS, like :
> env.Append(JAVACFLAGS = ['-target 1.7'])
>
> scons detects a space and add double quotes around the argument, so, javac
> is called this way :
>
> javac "target 1.7"
>
> The problem is javac is too stupid to parse an argument with double
> quote.
>
> My question is, is it possible to tell scons to not double-quoting ?
>
> thx!@
>
>
>
> --
> Sent from: http://scons.1086193.n5.nabble.com/Users-f16930.html
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20191201/57094e0e/attachment.html>


More information about the Scons-users mailing list