.IP env.Jar()
Builds a Java archive (.jar) file
from a source tree of .class files.
-If the $JAVACHDIR value is set, the
+If the $JARCHDIR value is set, the
.B jar
command will change to the specified directory using the
.B \-C
def __init__(self, arg):
self.arg = arg
- def __call__(self, target, source, env):
+ def __call__(self, target, source, env, for_signature):
return arg + " bar"
# Will expand $BAR to "my argument bar baz"
- Allow the LIBS construction variable to be a single string or File
node, not a list, when only one library is needed.
+ - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
+ to the __call__() example in the "Variable Substitution" section.
+
+ - Correct error message spellings of "non-existant" to "non-existent."
+
From Vincent Risi:
- Add support for the bcc32, ilink32 and tlib Borland tools.
except KeyError:
retval[export] = glob[export]
except KeyError, x:
- raise SCons.Errors.UserError, "Export of non-existant variable '%s'"%x
+ raise SCons.Errors.UserError, "Export of non-existent variable '%s'"%x
return retval
for v in string.split(var):
retval.append(stack[-1].globals[v])
except KeyError, x:
- raise SCons.Errors.UserError, "Return of non-existant variable '%s'"%x
+ raise SCons.Errors.UserError, "Return of non-existent variable '%s'"%x
if len(retval) == 1:
stack[-1].retval = retval[0]
else:
stack[-1].globals[v] = global_exports[v]
except KeyError,x:
- raise SCons.Errors.UserError, "Import of non-existant variable '%s'"%x
+ raise SCons.Errors.UserError, "Import of non-existent variable '%s'"%x
def SConscript(self, *ls, **kw):
ls = map(lambda l, self=self: self.subst(l), ls)