if SCons does not know where Java is, it will not create 'Java' 'BUILDER'.
Even if java is in the general $PATH, scons might still miss it as it only searches python's path, which is for some reason different.
In /scons/ ... /posix.py, it says:
env['ENV']['PATH'] = '/usr/local/bin:/bin:/usr/bin'
which probably means only these locations are searched for java.
changing it to:
env['ENV']['PATH'] = os.environ['PATH']
hepls.
Subscribe to:
Post Comments (Atom)
1 comment:
You would probably not realise this unless someone told you, so I'm telling you...
This little innocuous post on your blog saved me a heap of time. Thanks.
Post a Comment