diff -r 1248e8f6a72d -r db59fc762214 buildframework/helium/tools/common/helium_docs.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildframework/helium/tools/common/helium_docs.ant.xml Thu Mar 18 15:06:42 2010 +0000 @@ -0,0 +1,618 @@ + + + + + + Documentation generation targets specific to Helium. + + + + + + + + + + doc: xml(${helium.doc.src.dir}/src/helium_overview.xml) + + + + + + + + + + + + + + + + + + + + + + + + doc: xml(${docs.build.dir}/ivy/tool-dependencies-ido.xml) + + + + + + + + + + + + + + + + + + + + + + Python modules path: ${epydoc.python.modules.path} + + + + + + + + + + + + + + + + + + + + + API Documentation]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +import urllib +import helium.documentation + +old_db_file = urllib.urlopen(r'${last.major.release.database.url}') +writer = helium.documentation.APIDeltaWriter(old_db_file, r'${database.file}') +writer.write(r'${docs.build.dir}/api_changes.xml') + + + + + + + doc: xml(${docs.build.dir}/api_changes.xml) + old_release: ${last.major.helium.version} + new_release: ${helium.version} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building doc: @{document} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building doc: @{document} + + + + + + + + + + + + + + + + + + + + +import re +import os +import amara +import codecs +import ant +import docs + +setpath = r'${helium.dir}'+'/tools' + +print "Searching under "+setpath + +dbPath = r'${database.file}' +dbPath = 'file:///'+ dbPath.replace('\\','/') +dbPrj = amara.parse(dbPath) + +docs.find_python_dependencies(setpath, dbPath, dbPrj) + +file_object = codecs.open(r'${database.file}', 'w', "utf_8") +file_object.write(dbPrj.xml(indent=u"yes")) +file_object.close() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +import os +import dependancygraph + +dependancygraph.createGraph(r'${ivy.xml.file}', r'${dependency.grph}', r'${python.dir}', r'${python.internal.dir}', r'${subcon}') + + + + + + + + + + + + + + + +import os +import dependancygraph + +dependancygraph.externalDependancies(r'${database.file}.parsed', r'${dependency.external.grph}') + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +import os +import dependancygraph + +dependancygraph.findLogFiles(r'${database.file}.parsed', r'${dependency.external.grph}') + + + + + + + + + + + + + + ant: antProperties() + + + + + + Processing dot file: @{dot.file} + + + + + + + + + + + + + +