Stop building java-binding.zip. r=heycam.
--- a/build.py Mon Aug 01 09:15:33 2011 +0100
+++ b/build.py Wed Aug 03 00:34:20 2011 +0100
@@ -136,27 +136,16 @@
os.rmdir(join(parent, dir))
sys.exit(0)
-# Build svg.idlx and java-binding.zip as required:
+# Build svg.idlx as required:
svg_idl = join(master_dir, "svg.idl")
svg_idlx = join(build_dir, "svg.idlx")
-java_bind_zip = join(publish_dir, "java-binding.zip")
-idl2java = join(master_dir, "idl2java.xsl")
-if not isfile(svg_idlx) or getmtime(svg_idl) > getmtime(svg_idlx) or \
- not isfile(java_bind_zip) or getmtime(svg_idl) > getmtime(java_bind_zip):
- # change directory so the build output doesn't get dumped in the repo!
- os.chdir(build_dir)
+if not isfile(svg_idlx) or getmtime(svg_idl) > getmtime(svg_idlx):
toremove = [svg_idlx]
run("java -classpath " + join(tools_dir, "idlparser", "idlparser.jar") +
" au.id.mcc.idlparser.IDLToXML " + svg_idl + ">" + svg_idlx)
- toremove = [java_bind_zip]
- run("java -classpath " + join(tools_dir, "saxonb", "saxon9.jar") +
- " net.sf.saxon.Transform -ext:on " + svg_idlx + " " + idl2java)
- run("zip -rq " + java_bind_zip + " org")
toremove = []
- tocopy.append(java_bind_zip)
- os.chdir(repo_dir) # chdir back
# Build chapters as required: