ajack       2004/03/12 10:55:24

  Modified:    python/gump/document forrest.py
  Log:
  Commented out too much.
  
  Revision  Changes    Path
  1.104     +27 -25    gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- forrest.py        12 Mar 2004 18:25:28 -0000      1.103
  +++ forrest.py        12 Mar 2004 18:55:24 -0000      1.104
  @@ -184,7 +184,7 @@
           #    #
           #    # First deleted the tree (if exists), then ensure created
           #    #
  -        #    logDirectory=workspace.getLogDirectory()
  +        logDirectory=workspace.getLogDirectory()
           #    if os.path.exists(logDirectory):
           #        try:
           #            shutil.rmtree(logDirectory)  
  @@ -1334,36 +1334,38 @@
       #    x.write('<p><strong>Project Config :</strong> <link 
href=\'%s\'>XML</link></p>' \
       #                % (getModuleProjectRelativeUrl(modulename,project.name)) )     
                
              
  -        miscSection=document.createSection('Miscellaneous')
  +           
  +        if project.isDebug():
  +            miscSection=document.createSection('Miscellaneous')
           
  -        #
  -        #    Outputs (e.g. Jars)
  -        #
  -        if project.hasJars():
  -            outputSection = miscSection.createSection('Outputs')
  -            outputTable = outputSection.createTable(['Name','Id'])
  +            #
  +            #        Outputs (e.g. Jars)
  +            #
  +            if project.hasJars():
  +                outputSection = miscSection.createSection('Outputs')
  +                outputTable = outputSection.createTable(['Name','Id'])
               
  -            for jar in project.getJars():
  -                outputRow=outputTable.createRow()
  +                for jar in project.getJars():
  +                    outputRow=outputTable.createRow()
                   
  -                # The name (path) of the jar
  -                outputRow.createData(jar.getName())
  +                    # The name (path) of the jar
  +                    outputRow.createData(jar.getName())
                   
  -                # The jar id
  -                id=jar.getId() or 'N/A'
  -                outputRow.createData(id)                                
  +                    # The jar id
  +                    id=jar.getId() or 'N/A'
  +                    outputRow.createData(id)                                
           
               
  -        if project.hasBuildCommand():
  +            if project.hasBuildCommand():
               
  -            if project.hasAnt():                
  -                self.documentProperties(miscSection, project.getAnt(), 'Ant 
Properties')
  +                if project.hasAnt():                
  +                    self.documentProperties(miscSection, project.getAnt(), 'Ant 
Properties')
               
  -            (classpath,bootclasspath)=project.getClasspathLists()            
  -            self.displayClasspath(miscSection, classpath,'Classpath',project)       
 
  -            self.displayClasspath(miscSection, bootclasspath,'Boot 
Classpath',project) 
  +                (classpath,bootclasspath)=project.getClasspathLists()            
  +                self.displayClasspath(miscSection, classpath,'Classpath',project)   
     
  +                self.displayClasspath(miscSection, bootclasspath,'Boot 
Classpath',project) 
          
  -        self.documentXML(miscSection,project)
  +            self.documentXML(miscSection,project)
           
           dependencySection=document.createSection('Dependency')
           
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to