You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2003/10/07 21:26:58 UTC

cvs commit: jakarta-gump/python/gump repository.py build.py

ajack       2003/10/07 12:26:58

  Modified:    python/gump repository.py build.py
  Log:
  Rename Repository as JarRepository to avoid class w/ model
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-gump/python/gump/repository.py
  
  Index: repository.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/repository.py,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- repository.py	7 Oct 2003 19:19:31 -0000	1.3
  +++ repository.py	7 Oct 2003 19:26:58 -0000	1.4
  @@ -71,7 +71,7 @@
   from shutil import copyfile
   
   
  -class Repository:
  +class JarRepository:
       """Contains Repository Contents"""
       def __init__(self,root):
           self.root=root
  @@ -135,7 +135,7 @@
     from gump import load
     workspace=load(ws, context)
   
  -  repo=Repository(workspace.jardir)
  +  repo=JarRepository(workspace.jardir)
     
     repo.publish('testgroup','test.jar')
     
  
  
  
  1.20      +5 -4      jakarta-gump/python/gump/build.py
  
  Index: build.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/build.py,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- build.py	7 Oct 2003 19:19:31 -0000	1.19
  +++ build.py	7 Oct 2003 19:26:58 -0000	1.20
  @@ -74,6 +74,7 @@
   from gump import log, load
   from gump.context import *
   from gump.logic import getBuildSequenceForProjects, getBuildCommand, getProjectsForProjectExpression, getModulesForProjectList
  +from gump.repository import JarRepository
   from gump.conf import dir, default, handleArgv
   from gump.model import Workspace, Module, Project
   from gump.launcher import Cmd, CmdResult, execute
  @@ -170,7 +171,7 @@
     log.info('--- Building work directories with sources')
   
     # Place repository in jardir (to be renamed to repodir)
  -  repository=Repository(workspace.jardir)
  +  repository=JarRepository(workspace.jardir)
   
     # build all projects this project depends upon, then the project itself
     for project in sequence: