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 2004/07/28 03:48:32 UTC

cvs commit: gump/python/gump/build script.py

ajack       2004/07/27 18:48:32

  Modified:    python/gump/build script.py
  Log:
  Missed an argument to script building (found by bootstrap-ant).
  
  Revision  Changes    Path
  1.9       +4 -4      gump/python/gump/build/script.py
  
  Index: script.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/build/script.py,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- script.py	28 Jul 2004 01:26:09 -0000	1.8
  +++ script.py	28 Jul 2004 01:48:32 -0000	1.9
  @@ -53,7 +53,7 @@
           """
           gump.run.gumprun.RunSpecific.__init__(self,run)
   
  -    def buildProject(self,project,stats):
  +    def buildProject(self,project,languageHelper,stats):
           """
           Run a project's script (a .bat or a .sh as appropriate)
           """
  @@ -65,7 +65,7 @@
           #
           # Get the appropriate build command...
           #
  -        cmd=self.getScriptCommand(project)
  +        cmd=self.getScriptCommand(project,languageHelper)
   
           if cmd:
               # Execute the command ....
  @@ -87,7 +87,7 @@
                   # For now, things are going good...
                   project.changeState(STATE_SUCCESS)
      
  -    def getScriptCommand(self,languageHelper,project):
  +    def getScriptCommand(self,project,languageHelper):
           """ Return the command object for a <script entry """
           script=project.script
              
  @@ -117,5 +117,5 @@
           """
           Preview what this would do
           """
  -        command=self.getScriptCommand(project) 
  +        command=self.getScriptCommand(project,languageHelper) 
           command.dump()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org