[Scons-dev] Jar builds fail with SConscript variant directory

William Roberts bill.c.roberts at gmail.com
Wed Apr 30 19:01:03 EDT 2014


I typically set up my builds with a hierachical layout and a variant
directory and do some other things to make it all work together.
Normally I program in C, and this all works.

Recently, I tried using java and broke. I have a very simple example
that doesnt work. If I change the SConscript calls to use a variant
dir, its broken, if I dont it works...

Sconstruct:

<snip>
SConscript(script)
#SConscript(script, variant_dir=outdir, duplicate=1)
<snip>

to
<snip>
#SConscript(script)
SConscript(script, variant_dir=outdir, duplicate=1)
<snip>

it breaks...

Can someone explain what's going on here? Thanks.

--
Respectfully,

William C Roberts


More information about the Scons-dev mailing list