So frustrating: I have to put class extensions by hand
in Pharo... (at least it's there, just they don't appear as class extensions)
:-(
Alexandre
On 23 juin 2011, at 13:36, Simon Denier wrote:
Fix, the previous one was incorrect (also renamed classes which were extended)
| classPrefix categoryName pak |
classPrefix := 'Mal'.
categoryName := 'Moose-Algos-LinearAlgebra'.
pak := Registry packageNamed: 'LinearAlgebra (more)'.
pak allDefinedClasses do: [ :each |
each category: categoryName.
each renameAndFixSourceTo: classPrefix , each name ]
Now where do I put this stuff?
Here?
http://www.moosetechnology.org/tools/vw
I can't update
http://scg.unibe.ch/wiki/howtos/portingfromvisualworkstosqueak
On 23 juin 2011, at 11:57, Simon Denier wrote:
Best I can come up with for now
| classPrefix categoryName p classes |
classPrefix := 'Mal'.
categoryName := 'Moose-Algos-LinearAlgebra'.
p := Registry packageNamed: 'LinearAlgebra'.
classes := p allClasses collect: #actual.
classes do: [ :each |
each category: categoryName.
each renameAndFixSourceTo: classPrefix , each name ]
On 23 juin 2011, at 11:30, Simon Denier wrote:
On 17 juin 2011, at 13:26, Simon Denier wrote:
> Does anybody have a working VW image? If yes, can you load Hapax and export it to the
squeaksource project Moose-Algos?
>
http://scg.unibe.ch/wiki/howtos/portingfromvisualworkstosqueak
Can anyone remind me of how to access a package in Visual works?
I need to run the following script, except I don't know how to get the package object
in VW
| classPrefix categoryName |
classPrefix := 'XY'.
categoryName := 'Squeak Category Name'.
PackageName classes do: [ :each |
each category: categoryName.
each renameAndFixSourceTo: classPrefix , each name ]
--
Simon Denier
--
Simon Denier
--
Simon Denier
--
Simon Denier
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.