which version of Pharo are you using? because PackageInfo is no longer valid in 2.0, where you need to use:
RPackage organizer packages cheers, Esteban On Apr 4, 2013, at 8:03 PM, Christian Caldeiro <[email protected]> wrote: > Run this and you will get an array with all PackageInfo (packages) instances: > > PackageInfo allPackages > > Cheers > Christian > > > > On Thu, Apr 4, 2013 at 2:30 PM, ashwinshankar77 <[email protected]> > wrote: > Hi, > I'm a grad student at UIUC and I'm working on building > an automatic package(category) refactoring and visualization tool for pharo. > As a first step,I need to figure out how I can programmatically get the list > of packages/categories in the image. > To do this I tried the following - when I open the 'System Browser' > in pharo,the leftmost pane displays the packages. So I did a bit of reverse > engineering and started looking into the SystemBrowser class to see how > it gets the list of packages.But I'm not able to figure out. > > Can you please let me know how I can get the current list of > packages in the image(basically the packages as displayed in leftmost pane > of System Browser) ? > > > > -- > View this message in context: > http://forum.world.st/Need-help-with-dynamically-finding-packages-categories-on-pharo-tp4679646.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > >
