Bugzilla – Bug 439
Check for JAVA_HOME in build script
Last modified: 2011-05-05 13:04:40 CEST
< xydyx> hsivonen: checking for "JAVA_HOME" not in os.environ in buildAll or buildJing should work
Index: build.py =================================================================== --- build.py (revision 67) +++ build.py (working copy) @@ -550,6 +550,9 @@ downloadDependency(url, md5sum) def buildAll(): + if 'JAVA_HOME' not in os.environ: + print "You must set JAVA_HOME environment variable to point to the directory where your JDK is installed." + sys.exit(1) buildJing() buildDatatypeLibrary() buildNonSchema()
build r84 http://whattf.browse.cvsdude.com/build?view=rev&revision=84