cvs commit: gump/python/gump/model depend.py

2004-03-28 Thread ajack
ajack   2004/03/28 11:04:55

  Modified:python/gump/document forrest.py
   python/gump/model depend.py
  Log:
  Attempt to implement sysproperty (as Stefan did for traditional),

  and removed the hard coded settings for:

  

  1) java.awt.headless

  2) build.sysclasspath

  3) clonevm

  

  ... so we can control them as needed, not brute force.

  

  Hopefully we get an environment more matching traditional (and

  problems like xdocslets spinning goes away).
  
  Revision  ChangesPath
  1.118 +25 -11gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- forrest.py26 Mar 2004 02:27:15 -  1.117
  +++ forrest.py28 Mar 2004 19:04:55 -  1.118
  @@ -1650,16 +1650,30 @@
   def documentProperties(self,xdocNode,propertyContainer,title='Properties'):
   
   properties=propertyContainer.getProperties()
  -if not properties: return
  +sysproperties=propertyContainer.getSysProperties()
  +if not properties and not sysproperties: return
   
   propertiesSection=xdocNode.createSection(title)
  +
  +if sysproperties:
  +# System Properties
  +sysPropertiesSection=propertiesSection.createSection('System 
Properties')  
  +
syspropertiesTable=sysPropertiesSection.createTable(['Name','Value','XML'])
  +for sysproperty in sysproperties:  
  +syspropertyRow=syspropertiesTable.createRow()
  +syspropertyRow.createData(sysproperty.getName())
  +syspropertyRow.createData(sysproperty.getValue())
  +syspropertyRow.createData(sysproperty.getXMLData())
   
  -propertiesTable=propertiesSection.createTable(['Name','Value','XML'])
  -for property in properties:  
  -propertyRow=propertiesTable.createRow()
  -propertyRow.createData(property.getName())
  -propertyRow.createData(property.getValue())
  -propertyRow.createData(property.getXMLData())
  +if properties:
  +# Standard Properties
  +standardPropertiesSection=propertiesSection.createSection('Standard 
Properties')
  +
propertiesTable=standardPropertiesSection.createTable(['Name','Value','XML'])
  +for property in properties:  
  +propertyRow=propertiesTable.createRow()
  +propertyRow.createData(property.getName())
  +propertyRow.createData(property.getValue())
  +propertyRow.createData(property.getXMLData())
   
   def documentXML(self,xdocNode,xmlOwner):
   
  
  
  
  1.23  +1 -1  gump/python/gump/model/depend.py
  
  Index: depend.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/depend.py,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- depend.py 24 Mar 2004 15:19:22 -  1.22
  +++ depend.py 28 Mar 2004 19:04:55 -  1.23
  @@ -20,7 +20,7 @@
   
   from gump.model.state import *
   from gump.model.object import NamedModelObject
  -from gump.model.property import Property, PropertyContainer
  +from gump.model.property import Property
   
   
   from gump.utils.note import *
  
  
  

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



cvs commit: gump/python/gump/model depend.py ant.py rawmodel.py

2004-03-15 Thread ajack
ajack   2004/03/15 14:07:08

  Modified:python/gump/utils note.py launcher.py http.py owner.py
sync.py work.py __init__.py xmlutils.py tools.py
file.py commandLine.py
   python/gump/results resulter.py __init__.py model.py
loader.py
   python/gump update.py gumprun.py engine.py build.py
integrate.py check.py config.py continuous.py
   python/gump/output nag.py repository.py xref.py __init__.py
statsdb.py
   python/gump/test maven.py model.py
   python/gump/test/resources/full1 module5.xml module4.xml
workspace.xml
   python/gump/tool stats.py
   python/gump/document forrest.py
   python/gump/model depend.py ant.py rawmodel.py
  Added:   python/gump/test/resources/full1 .cvsignore
  Log:
  1) Some comment tweaks (primarily moving to license 2.0, more to do)

  2) Moving towards nag to/from on workspace

  3) Work on noclasspath (not done on property, or not checked)

  4) Some tests for above in unit tests
  
  Revision  ChangesPath
  1.7   +13 -57gump/python/gump/utils/note.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/note.py.diff?r1=1.6r2=1.7
  
  
  1.16  +13 -57gump/python/gump/utils/launcher.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/launcher.py.diff?r1=1.15r2=1.16
  
  
  1.7   +13 -74gump/python/gump/utils/http.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/http.py.diff?r1=1.6r2=1.7
  
  
  1.4   +13 -56gump/python/gump/utils/owner.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/owner.py.diff?r1=1.3r2=1.4
  
  
  1.7   +13 -56gump/python/gump/utils/sync.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/sync.py.diff?r1=1.6r2=1.7
  
  
  1.13  +12 -56gump/python/gump/utils/work.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/work.py.diff?r1=1.12r2=1.13
  
  
  1.26  +14 -56gump/python/gump/utils/__init__.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/__init__.py.diff?r1=1.25r2=1.26
  
  
  1.10  +12 -56gump/python/gump/utils/xmlutils.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/xmlutils.py.diff?r1=1.9r2=1.10
  
  
  1.20  +12 -56gump/python/gump/utils/tools.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/tools.py.diff?r1=1.19r2=1.20
  
  
  1.8   +14 -57gump/python/gump/utils/file.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/utils/file.py.diff?r1=1.7r2=1.8
  
  
  1.10  +15 -58gump/python/gump/utils/commandLine.py
  
  
http://cvs.apache.org/viewcvs/gump/python/gump/utils/commandLine.py.diff?r1=1.9r2=1.10
  
  
  1.17  +13 -56gump/python/gump/results/resulter.py
  
  
http://cvs.apache.org/viewcvs/gump/python/gump/results/resulter.py.diff?r1=1.16r2=1.17
  
  
  1.4   +14 -56gump/python/gump/results/__init__.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/results/__init__.py.diff?r1=1.3r2=1.4
  
  
  1.7   +13 -56gump/python/gump/results/model.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/results/model.py.diff?r1=1.6r2=1.7
  
  
  1.5   +13 -56gump/python/gump/results/loader.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/results/loader.py.diff?r1=1.4r2=1.5
  
  
  1.24  +20 -23gump/python/gump/update.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/update.py.diff?r1=1.23r2=1.24
  
  
  1.13  +16 -2 gump/python/gump/gumprun.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/gumprun.py.diff?r1=1.12r2=1.13
  
  
  1.86  +1 -2  gump/python/gump/engine.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/engine.py.diff?r1=1.85r2=1.86
  
  
  1.43  +24 -31gump/python/gump/build.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/build.py.diff?r1=1.42r2=1.43
  
  
  1.23  +16 -67gump/python/gump/integrate.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/integrate.py.diff?r1=1.22r2=1.23
  
  
  1.39  +20 -79gump/python/gump/check.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/check.py.diff?r1=1.38r2=1.39
  
  
  1.16  +12 -56gump/python/gump/config.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/config.py.diff?r1=1.15r2=1.16
  
  
  1.4   +17 -20gump/python/gump/continuous.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/continuous.py.diff?r1=1.3r2=1.4
  
  
  1.28  +21 -60gump/python/gump/output/nag.py
  
  http://cvs.apache.org/viewcvs/gump/python/gump/output/nag.py.diff?r1=1.27r2=1.28
  
  
  1.5   +12 -58gump/python/gump/output/repository.py
  
  
http://cvs.apache.org/viewcvs/gump/python/gump/output/repository.py.diff?r1=1.4r2=1.5
  
  
  1.11  +13 -59gump/python/gump/output/xref.py
  
  

cvs commit: gump/python/gump/model depend.py

2004-03-10 Thread ajack
ajack   2004/03/10 06:20:06

  Modified:python/gump/model depend.py
  Log:
  I'd over optimized full dependency determination, hence full == direct depends,

  hence these numbers are too low:

  

  http://lsd.student.utwente.nl/gump/project_todos.html
  
  Revision  ChangesPath
  1.15  +8 -6  gump/python/gump/model/depend.py
  
  Index: depend.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/depend.py,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- depend.py 9 Mar 2004 21:19:09 -   1.14
  +++ depend.py 10 Mar 2004 14:20:04 -  1.15
  @@ -295,7 +295,6 @@
   self.fullDependencies=DependSet()
   for depend in self.directDependencies.getDepends():
   if not self.fullDependencies.containsDepend(depend):
  -self.fullDependencies.addDepend(depend)
   
   dependProject=depend.getProject()
   if not self.fullDependencies.containsProject(dependProject):
  @@ -303,6 +302,8 @@
   for subdepend in dependProject.getFullDependencies():
   if not self.fullDependencies.containsDepend(subdepend):
   self.fullDependencies.addDepend(depend)
  +
  +self.fullDependencies.addDepend(depend)
   
   return self.fullDependencies.getDepends()
   
  @@ -331,8 +332,7 @@
   self.fullDependees=DependSet(1)
   
   for depend in self.directDependees.getDepends():
  -if not self.fullDependees.containsDepend(depend):
  -self.fullDependees.addDepend(depend)
  +if not self.fullDependees.containsDepend(depend):  
   
   dependProject=depend.getOwnerProject()
   if not self.fullDependees.containsProject(dependProject):
  @@ -340,6 +340,8 @@
   for subdepend in dependProject.getFullDependees():
   if not self.fullDependees.containsDepend(subdepend):
   self.fullDependees.addDepend(depend)
  +  
  +self.fullDependees.addDepend(depend)
   
   return self.fullDependees.getDepends()
   
  
  
  

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



cvs commit: gump/python/gump/model depend.py

2004-03-09 Thread ajack
ajack   2004/03/09 12:57:42

  Modified:python/gump/model depend.py
  Log:
  Keep trying...
  
  Revision  ChangesPath
  1.11  +6 -5  gump/python/gump/model/depend.py
  
  Index: depend.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/depend.py,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- depend.py 9 Mar 2004 20:40:29 -   1.10
  +++ depend.py 9 Mar 2004 20:57:42 -   1.11
  @@ -292,7 +292,7 @@
   #
   # Build (once) upon demand
   #
  -self.fullDependencies=DependSet(1)
  +self.fullDependencies=DependSet()
   for depend in self.directDependencies.getDepends():
   if not self.fullDependencies.containsDepend(depend):
   self.fullDependencies.addDepend(depend)
  @@ -327,7 +327,8 @@
   #
   # Build (once) upon demand
   #
  -self.fullDependees=DependSet()
  +self.fullDependees=DependSet(1)
  +
   for depend in self.directDependees.getDepends():
   if not self.fullDependees.containsDepend(depend):
   self.fullDependees.addDepend(depend)
  
  
  

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



cvs commit: gump/python/gump/model depend.py

2004-03-09 Thread ajack
ajack   2004/03/09 13:08:52

  Modified:python/gump/model depend.py
  Log:
  I'm close, honest...
  
  Revision  ChangesPath
  1.13  +7 -5  gump/python/gump/model/depend.py
  
  Index: depend.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/depend.py,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- depend.py 9 Mar 2004 21:03:05 -   1.12
  +++ depend.py 9 Mar 2004 21:08:52 -   1.13
  @@ -310,7 +310,8 @@
   return self.directDependencies.getUniqueProjectDependCount()
   
   def getFullDependencyCount(self):
  -return self.getFullDependencies().getUniqueProjectDependCount()
  +self.getFullDependencies()
  +return fullDependencies.getUniqueProjectDependCount()
   
   #
   # Dependees
  @@ -346,7 +347,8 @@
   return self.directDependees.getUniqueProjectDependCount()
   
   def getFullDependeeCount(self):
  -return self.getFullDependees().getUniqueProjectDependCount()
  +self.getFullDependees()
  +return self.fullDependees.getUniqueProjectDependCount()
   
   
   def buildDependenciesMap(self,workspace):
  
  
  

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



cvs commit: gump/python/gump/model depend.py

2004-03-09 Thread ajack
ajack   2004/03/09 13:19:09

  Modified:python/gump/model depend.py
  Log:
  Dare I say it? Last commit for a while [I can dream..]
  
  Revision  ChangesPath
  1.14  +4 -4  gump/python/gump/model/depend.py
  
  Index: depend.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/depend.py,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- depend.py 9 Mar 2004 21:08:52 -   1.13
  +++ depend.py 9 Mar 2004 21:19:09 -   1.14
  @@ -311,7 +311,7 @@
   
   def getFullDependencyCount(self):
   self.getFullDependencies()
  -return fullDependencies.getUniqueProjectDependCount()
  +return self.fullDependencies.getUniqueProjectDependCount()
   
   #
   # Dependees
  
  
  

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