Beispiel #1
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 #2
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 #3
0
  # Specifying 'none' overrides any other selections
  if options.test.count('none') > 0:
    run_sc = False
    run_sv = False

  if not run_sc: print('  Skipping sedonac tests')
  if not run_sv: print('  Skipping svm tests')

  # Make sedona.jar  
  status = makesedona.compile()
  if status:
    raise env.BuildError("FATAL: makesedona failed")   
  
  # Make sedonac.jar  
  status = makesedonac.compile()
  if status:
    raise env.BuildError("FATAL: makesedonac failed")   

  # Make sedonacert.jar  
  status = makesedonacert.compile()
  if status:
    raise env.BuildError("FATAL: makesedonacert failed")   
  
  # Make all kits
  compilekit.compile(env.kits)

  # Make additional external kits
  if options.kits is not None:
    print("Build additional external kits")
    compilekit.compile(options.kits)
Beispiel #4
0
  # Specifying 'none' overrides any other selections
  if options.test.count('none') > 0:
    run_sc = False
    run_sv = False

  if not run_sc: print '  Skipping sedonac tests'
  if not run_sv: print '  Skipping svm tests'

  # Make sedona.jar  
  status = makesedona.compile()
  if status:
    raise env.BuildError("FATAL: makesedona failed")   
  
  # Make sedonac.jar  
  status = makesedonac.compile()
  if status:
    raise env.BuildError("FATAL: makesedonac failed")   

  # Make sedonacert.jar  
  status = makesedonacert.compile()
  if status:
    raise env.BuildError("FATAL: makesedonacert failed")   
  
  # Make all kits
  compilekit.compile(env.kits, ["-outDir", env.build])

  # Make windows test scode (or scode specified on cmd line)
  compilekit.compile(options.scode)
  
  # Make windows test scode
Beispiel #5
0
import os
import env
import fileutil
import makesedona
import makesedonac
import makesedonacert
import makeunixvm
import compilekit

# Main
if __name__ == '__main__':
  # make sedona.jar  
  makesedona.compile()
  
  # make sedonac.jar  
  makesedonac.compile()

  # make sedonacert.jar
  makesedonacert.compile()
  
  # make all kits
  compilekit.compile(env.src)

  # make unix svm
  makeunixvm.main([])
  
  # make windows test scode
  #compilekit.compile(os.path.join(env.scode, "x86-test.xml"))  
  
  # run sedonac tests
  #status = os.system(env.sedonacExe + " -test")