|SWAG >> MySQL Fact Extraction|
IntroductionIf you intend to perform all of the steps involved in extracting facts from MySql you will need to complete the following steps on a 32 bit linux machine since asx will only currently run on such machines.
If you wish to be able to view source code, either directly or from within lsedit, you will need to extract that source to the machine of your choice, and configure lsedit to use the editor of your choice to view such source.
MySQL fact extraction steps
The following are all of the steps needed to perform fact extraction, given that one starts with nothing.
Just obtaining the source code
Much of the source code provided in the tarball is itself compressed. In an attempt to ease the pain here for those who merely want to view the source code of mysql, download the following source.zip and uncompress that.
It is likely that you will not place the source code in precisely the place that I placed it when creating the mysql.ta file. To correct the differences in software location here, change the named location of the root directory by clicking on this root directory in lsedit, pressing 'a' and then alter the file field appropriately. You can check that the value has been changed by closing the attribute dialog box and then reopening it.
To open source code once this has been done from either an edge or a node that has file/lineno information in its attributes, go to options in the menu bar, and then Specify command. There are a number of example ways of opening up software to visualise source code (you are welcome to submit others for inclusion in the list of examples). Basically the top white line names the command to be executed, and each of the lines in the grey box specify a single parameter to this command. At run time $(X) gets changed into the value of the X attribute in the object which is selected when one invokes the command. Note that one can have more than one command by changing the hot key name in the right hand bottom corner any of (h, f4-f10). If any of the examples work for you just press set to use it. Otherwise choose the best example and then change the values in the dialog after pressing set.
Grok and JGrok
If you wish to manipulate the facts extracted you may use either grok or jgrok. Note that grok is more stable but runs only on linux platforms. JGrok should work on any machine that supports Sun Java.
Contact informationFor more information on MySql fact extraction please contact us at .