|
How to display monticello package version ?: msg#00204lang.smalltalk.squeak.beginners
Hi I often find the need to display packages versions that are loaded ... I decided to try but it's late and all I have is package names... I just do that: packInf:=(PackageInfo allPackages select: [:aPackInfo | (aPackInfo packageName startsWith: 'OB') or: [ (aPackInfo packageName startsWith: 'Omni')] ]). packInf do: [:ea | Transcript cr; show: ea packageName]. You guessed I wanted to display my OB configuration... :) Did I miss a method to get the version ? [later] I finally played a bit more... I get the versions but not really happy with it (time to go to bed...) (MCPackage allInstances do: [:ea | (ea name startsWith: 'OB') ifTrue: [ Transcript cr; show: ((MCWorkingCopy forPackage: ea) ancestry ancestors first name printString)]]) Can you correct or show a better way to do ? Thanks Cédrick _______________________________________________ Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Recommended way to print on screen, Robert F. Scheer |
|---|---|
| Next by Date: | Re: Recommended way to print on screen, Robert F. Scheer |
| Previous by Thread: | Recommended way to print on screen, Robert F. Scheer |
| Next by Thread: | Disable Morph-drag in a PasteUpMorph, Marcus Strehlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |