[Pharo-project] What does HODataBase do?
So, because I'm perverse like that, and because it's there, I grabbed Damian's latest dev-image and ran the Code Critics against everything in the image. Once the bottom of my macbook had returned to a bearable temperature, I started going through the results and found scads of references to the "undeclared variable" HODataBase and other HO* names, mostly in the OBEnriched family of classes. Does anyone have any idea what's going on?
Hi piers this is not pervere we should do it part of our process this is just that the start of pharo is getting all our attention. On Dec 20, 2008, at 3:35 PM, Piers Cawley wrote:
So, because I'm perverse like that, and because it's there, I grabbed Damian's latest dev-image and ran the Code Critics against everything in the image. Once the bottom of my macbook had returned to a bearable temperature, I started going through the results and found scads of references to the "undeclared variable" HODataBase and other HO* names, mostly in the OBEnriched family of classes. Does anyone have any idea what's going on?
No idea what is HO* Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi Piers,
So, because I'm perverse like that, and because it's there, I grabbed Damian's latest dev-image and ran the Code Critics against everything in the image. Once the bottom of my macbook had returned to a bearable temperature, I started going through the results and found scads of references to the "undeclared variable" HODataBase and other HO* names, mostly in the OBEnriched family of classes. Does anyone have any idea what's going on?
OB-Enhancements includes functionality to reason about the dynamics of applications whose source code is displayed in OmniBrowser. This functionality basically enriches the browser with dynamic information besides showing static information (classes, method, source code, etc.). In order to get such functionality, a reflective framework called Reflectivity has to be installed in the image and all methods have to be compiled with the NewCompiler. Then a package called Hermion (acronym "HO") defines how and what kind of dynamic information to collect and stores the information in database. OB-Enhancements does in some parts (ie. in the "enriched part") access the database of Hermion to bring back the dynamic information into various parts of the browser. If Hermion is not installed, these parts of OB-Enhancements simply do not get executed. This code nonetheless has to be placed in the OB code as the browser needs to decide where and how to display dynamic information, that's why some classes of Hermion get referenced in OB-Enhancements. I now use structural reflection to get rid of undeclared references in this code though, I forgot to do this in some methods in the first place, sorry. But now the undeclared references should be gone. Could you check? (you can load latest version of OB-Enhancements from source.wiresong.ca/ob using Monticello) Cheers, David
participants (3)
-
David Röthlisberger -
Piers Cawley -
Stéphane Ducasse