rohit_01 wrote
One more thing i want to ask, i.e, how to make .extension files (like .class files) in pharo
Rohit, when you put a method in a protocol of the form *MyPackage, it's a hack which is not really a protocol at all, but tells Monticello, Pharo's SCM: "package this method in MyPackage instead of with the method's class (the default)". We call it an "extension method". Then, when GitFileTree saves the source to disk, it creates a .extension file inside the .package file. It is like a .class file, but remember the class is packaged elsewhere, so it already has a .class file. On loading, if the class is present in the system, GitFileTree adds the extension method (which is described in the .extension file) to it. ----- Cheers, Sean -- View this message in context: http://forum.world.st/making-extension-files-like-class-files-tp4810389p4812... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.