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

Pierre-Luc Boily pierreluc.boily at gmail.com
Mon Dec 2 09:28:01 EST 2019


Yes, it works.  Another easy solution I did not think about!  Thx a lot for
your help!

Le dim. 1 déc. 2019, à 17 h 09, Bill Deegan <bill at baddogconsulting.com> a
écrit :

> 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
>>
> _______________________________________________
> 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/20191202/63c61180/attachment.html>


More information about the Scons-users mailing list