[Scons-users] more Java scons3 issues...

Mats Wichmann mats at wichmann.us
Sat Dec 16 17:19:06 EST 2017


On 12/16/2017 02:12 PM, Bill Deegan wrote:
> Mats,
> 
> I see you're filing a bug for this.
> If you check the bug filing policy we ask that you wait for someone to
> approve filing a new bug to prevent duplicates, etc from filling up the bug
> tracker.
> 
> Have you tried the lastest changes in the master branch?
> There are some new Java fixes in there since 3.0.1..

I've checked for duplication, but this is effectively new code. pre-3.0
code in jar.py did not do anything like this. The post 3.0.1 jar.py
changes help other problems I have, but not this one.

The problem is in a simple check, os.path.isfile(), which is not safe to
do in the context of a variant dir (without copying), because the source
files in the working/variant directory exist only in the mind of SCons,
not Python. As noted in the bug, I don't at the moment know how to apply
a transformation to convert back to the source directory in the context
in which the tool runs, so figured it was best to document it.

http://scons.tigris.org/issues/show_bug.cgi?id=3042



More information about the Scons-users mailing list