Exemple #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()
Exemple #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()
Exemple #3
0
  if not options.test: options.test = ['all']

  # Figure out which tests to run
  run_sc = options.test.count('sedonac') > 0 or options.test.count('all') > 0 
  run_sv = options.test.count('svm') > 0     or options.test.count('all') > 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)
Exemple #4
0
  if not options.test: options.test = ['all']

  # Figure out which tests to run
  run_sc = options.test.count('sedonac') > 0 or options.test.count('all') > 0 
  run_sv = options.test.count('svm') > 0     or options.test.count('all') > 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])
Exemple #5
0
# Creation:  10 Dec 08
#                 

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"))