gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/template/forrest/src/documentation/content/xdocs site.xml
Date Mon, 29 Mar 2004 19:34:20 GMT
ajack       2004/03/29 11:34:20

  Modified:    python/gump/document forrest.py
               python/gump/model object.py workspace.py
               template/forrest/src/documentation/content/xdocs site.xml
  Log:
  Document environment as a new page.
  
  Revision  Changes    Path
  1.119     +28 -6     gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- forrest.py	28 Mar 2004 19:04:55 -0000	1.118
  +++ forrest.py	29 Mar 2004 19:34:19 -0000	1.119
  @@ -121,6 +121,7 @@
           gumpSet=run.getGumpSet()
           
           # Document...
  +        self.documentEnvironment(run,workspace)    
           self.documentWorkspace(run,workspace,gumpSet)    
           if gumpSet.isFull():
               self.documentStatistics(run,workspace,gumpSet)
  @@ -239,7 +240,29 @@
                   success=0
           
           return success
  -         
  +              
  +    #####################################################################           
  +    #
  +    # Environment
  +    #      
  +    def documentEnvironment(self,run,workspace):
  +        
  +        environment=run.getEnvironment()
  +           
  +        #
  +        # ----------------------------------------------------------------------
  +        #
  +        # env.xml
  +        #
  +        
  +        document=XDocDocument('Workspace',	\
  +                self.resolver.getFile(workspace, 'environment.xml'))       
  +                
  +        #self.documentFileList(document,environment,'Environment-level Files')
  +        self.documentWorkList(document,environment,'Environment-level Work')
  +     
  +        document.serialize()
  +                
       #####################################################################           
       #
       # Model Pieces
  @@ -292,7 +315,6 @@
           textRow.createData('Workspace Documentation')
           textRow.createData().createLink('context.html','Text')
                   
  -                
           if not workspace.private:            
               syndRow=definitionTable.createRow()
               syndRow.createData('Definition')
  @@ -345,7 +367,7 @@
           self.documentProperties(detailsSection, workspace, 'Workspace Properties')
           
           # Does this workspace send nag mails?
  -        if workspace.xml.nag:
  +        if workspace.isNag():
               nag='true'
           else:
               nag='false'
  
  
  
  1.23      +3 -3      gump/python/gump/model/object.py
  
  Index: object.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/model/object.py,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- object.py	16 Mar 2004 19:50:14 -0000	1.22
  +++ object.py	29 Mar 2004 19:34:20 -0000	1.23
  @@ -36,11 +36,11 @@
           # Can scribble on this thing...
       	Annotatable.__init__(self)
       	
  -    	# Holds file references
  -    	FileHolder.__init__(self)
  -    	
       	# Holds work (with state)
       	Workable.__init__(self)
  +    	
  +    	# Holds file references
  +    	FileHolder.__init__(self)
       	
       	# Can propogate states
           Propogatable.__init__(self)
  
  
  
  1.39      +1 -1      gump/python/gump/model/workspace.py
  
  Index: workspace.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/model/workspace.py,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- workspace.py	28 Mar 2004 18:58:05 -0000	1.38
  +++ workspace.py	29 Mar 2004 19:34:20 -0000	1.39
  @@ -51,7 +51,7 @@
               if xmlworkspace.getName():
                   name=xmlworkspace.getName()
               
  -    	NamedModelObject.__init__(self,name,xmlworkspace)    	
  +    	NamedModelObject.__init__(self,name,xmlworkspace)    
       	PropertyContainer.__init__(self)    
       	Statable.__init__(self)
       	Resultable.__init__(self)
  
  
  
  1.24      +1 -0      gump/template/forrest/src/documentation/content/xdocs/site.xml
  
  Index: site.xml
  ===================================================================
  RCS file: /home/cvs/gump/template/forrest/src/documentation/content/xdocs/site.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- site.xml	25 Mar 2004 15:28:52 -0000	1.23
  +++ site.xml	29 Mar 2004 19:34:20 -0000	1.24
  @@ -10,6 +10,7 @@
   
     <work label="Gump">
       <index label="Workspace" href="index.html"/>
  +    <index label="Environment" href="environment.html"/>
       <index label="Build Log" href="buildLog.html"/>
       <!-- index label="Notes Log" href="notesLog.html"/ -->
     </work>
  
  
  

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


Mime
View raw message