gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-gump/python build.py
Date Sun, 27 Apr 2003 21:12:45 GMT
nicolaken    2003/04/27 14:12:45

  Modified:    python   build.py
  Log:
  Fix following Sam's changes on the dependency resolving code
  
  Revision  Changes    Path
  1.10      +13 -2     jakarta-gump/python/build.py
  
  Index: build.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/build.py,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.py	26 Apr 2003 10:05:21 -0000	1.9
  +++ build.py	27 Apr 2003 21:12:45 -0000	1.10
  @@ -24,8 +24,19 @@
     print 'PROJECTS TO BUILD:'
   
     # resolve the build sequence of the specified project
  -  build_sequence = dependencies(projectname, project.depend)
  -
  +  try:
  +    todo=[]
  +    project.addToTodoList(todo)
  +    todo.sort()
  +    build_sequence = buildSequence(todo)
  +    for tproject in build_sequence:
  +      print tproject.name
  +  except:
  +    message=str(sys.exc_type)
  +    if sys.exc_value: message+= ": " + str(sys.exc_value)
  +    print message
  +    raise
  +  
     # synchronize
     syncWorkDir( workspace, build_sequence )
   
  
  
  

Mime
View raw message