All pastes #27152 Raw Edit

Diff

public text v1 · immutable
#27152 ·published 2005-10-31 18:07 UTC
rendered paste body
Index: bitten/build/javatools.py===================================================================--- bitten/build/javatools.py	(revision 301)+++ bitten/build/javatools.py	(working copy)@@ -26,6 +26,10 @@     if ant_home:         executable = os.path.join(ant_home, 'bin', 'ant') +    java_home = ctxt.config.get_dirpath('java.home')+    if java_home:+        os.environ['JAVA_HOME'] = java_home+     logfile = tempfile.NamedTemporaryFile(prefix='ant_log', suffix='.xml')     if args:         args = shlex.split(args)