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/gump check.py conf.py
Date Mon, 05 May 2003 10:22:19 GMT
nicolaken    2003/05/05 03:22:19

  Modified:    python/gump check.py conf.py
  Log:
  Start trying to load the "global" gump module.
  
  Revision  Changes    Path
  1.4       +12 -0     jakarta-gump/python/gump/check.py
  
  Index: check.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/check.py,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- check.py	5 May 2003 09:47:16 -0000	1.3
  +++ check.py	5 May 2003 10:22:19 -0000	1.4
  @@ -72,6 +72,8 @@
       for missed in missing:
         print "  " + missed
   
  +  #peekInGlobalProfile(missing);
  +  
     print
     print " ***** RESULT ***** "  
     print
  @@ -93,6 +95,16 @@
   
       
     return 0
  +  
  +def peekInGlobalProfile(missing):
  +
  +  workspace=load(default.globalws)
  +  
  +  for missed in missing:
  +    print "  " + missed
  +    if(missed in Project.list):
  +      print "found: " , missed
  +  
   
   # static void main()
   if __name__=='__main__':
  
  
  
  1.3       +4 -3      jakarta-gump/python/gump/conf.py
  
  Index: conf.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/conf.py,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- conf.py	28 Apr 2003 21:38:02 -0000	1.2
  +++ conf.py	5 May 2003 10:22:19 -0000	1.3
  @@ -81,6 +81,7 @@
       """Configuration of default settings"""
       
       workspace  = os.path.normpath('%s/%s.xml' % (dir.base, socket.gethostname().split('.')[0]))
  +    globalws   = os.path.normpath('%s/%s' % (dir.base, 'profile/gump.xml'))
       project    = "krysalis-ruper-test"
       merge      = os.path.normpath('%s/%s' % (dir.work, 'merge.xml'))
       date       = time.strftime('%Y%m%d')
  
  
  

Mime
View raw message