Beispiel #1
0
def stage():
    fileutil.rmdir(stageDir)
    fileutil.mkdir(stageDir)
    for x in xcopies:
        dirName = x[0]
        exclude = x[1]
        srcDir = os.path.join(env.home, dirName)
        if os.path.exists(srcDir):
            fileutil.cpdir(srcDir, os.path.join(stageDir, dirName), exclude)
Beispiel #2
0
def stage():
  fileutil.rmdir(stageDir)
  fileutil.mkdir(stageDir)
  for x in xcopies:
    dirName = x[0]
    exclude = x[1]
    srcDir = os.path.join(env.home, dirName)
    if os.path.exists(srcDir):
      fileutil.cpdir(srcDir, os.path.join(stageDir, dirName), exclude)
Beispiel #3
0
def main():
  global parser, options

  (options, args) = parser.parse_args()

  buildsrcdocs = env.sedonacExe + " -doc -outDir " + env.build + " " + env.kits
  docOut = os.path.join(env.build, "doc")
  fileutil.cpdir(env.doc, docOut)
  buildpubdocs = env.sedonacExe + " -doc " + os.path.join(docOut, "toc.xml")

  #print "\n\n   Executing cmd = { " + cmd + " }\n\n"
  
  if subprocess.call(buildsrcdocs, shell=True):
    raise Exception, "\n *** Failed:\n" + buildsrcdocs

  if subprocess.call(buildpubdocs, shell=True):
    raise Exception, "\n *** Failed:\n" + buildpubdocs
Beispiel #4
0
def main():
    global parser, options

    (options, args) = parser.parse_args()

    buildsrcdocs = env.sedonacExe + " -doc -outDir " + env.build + " " + env.kits
    docOut = os.path.join(env.build, "doc")
    fileutil.cpdir(env.doc, docOut)
    buildpubdocs = env.sedonacExe + " -doc " + os.path.join(docOut, "toc.xml")

    #print "\n\n   Executing cmd = { " + cmd + " }\n\n"

    if subprocess.call(buildsrcdocs, shell=True):
        raise Exception("\n *** Failed:\n" + buildsrcdocs)

    if subprocess.call(buildpubdocs, shell=True):
        raise Exception("\n *** Failed:\n" + buildpubdocs)
Beispiel #5
0
def compile():
    print "====== makedist.compile ======"
    # make sedona.jar
    makesedona.compile()

    # make sedonac.jar
    makesedonac.compile()

    # make all kits
    compilekit.compile(env.kits, ["-doc", "-outDir", env.build])

    # make docs
    docOut = os.path.join(env.build, "doc")
    fileutil.cpdir(env.doc, docOut)
    compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"])

    # Make Sedona VM (svm)
    if os.name == "posix":  # unix, OSX
        makeunixvm.main([])
    else:  # win32
        makewinvm.compile()
Beispiel #6
0
def compile():
  print "====== makedist.compile ======"
  # make sedona.jar
  makesedona.compile()

  # make sedonac.jar
  makesedonac.compile()

  # make all kits
  compilekit.compile(env.kits, ["-doc", "-outDir", env.build])

  # make docs
  docOut = os.path.join(env.build, "doc")
  fileutil.cpdir(env.doc, docOut)
  compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"])

  # Make Sedona VM (svm)
  if os.name == "posix": # unix, OSX
    makeunixvm.main([])
  else: # win32
    makewinvm.compile()