trying to download Hapa'o in a fresh Pharo image (4.0)
Hello, I am trying to get Hapa'o loaded in a fresh 4.0 image, using the following command: Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault and I run across this error: This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load these definitions: HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ... This isn't something I'm familiar with, can someone tell me how to resolve it? Many thanks, Sheridan
Hello, Actually that version of Hapao is really outdated, currently we are using S2py, a brand new release of Spy that involve mayor changes in performance and design using everything that we learnt developing Spy. Since it depends on Roassal2, you have to load it first. Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'ConfigurationOfRoassal2'; load. (Smalltalk at: #ConfigurationOfRoassal2) load. And then we load Spy2. Gofer new smalltalkhubUser: 'ObjectProfile' project: 'S2py'; package: 'S2py'; load. Hapao is already included on Spy2, so you donât have to do anything else. To use Hapao you can do it from the WorldMenu or using a workspace like: (Hapao2 runTestsForClasses: RTObject withAllSubclasses , RTTest withAllSubclasses) visualize or (Hapao2 runTestsForPackagesMatching: 'Nautilus*') visualize I have already tried this on today fresh 4.0 image so unless I mess up on a commit tonight it should work. Let us know how was your experience! All the feedback is welcome. Cheers, Alejandro
On Dec 7, 2014, at 7:56 PM, sheridan@sheridan-mahoney.com wrote:
Hello,
I am trying to get Hapa'o loaded in a fresh 4.0 image, using the following command:
Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault
and I run across this error:
This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load these definitions: HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ...
This isn't something I'm familiar with, can someone tell me how to resolve it?
Many thanks,
Sheridan
Le 8/12/14 06:06, Alejandro Infante a écrit :
Hello, Actually that version of Hapao is really outdated, currently we are using S2py, a brand new release of Spy that involve mayor changes in performance and design using everything that we learnt developing Spy.
Since it depends on Roassal2, you have to load it first.
NONO the S2py configuration should load roassal2. To not let end-user facing that dependency hell. I wrote several chapters and example, we wrote a tool to help people manage dependencies. So it can take less then 10 min to respect your users! I will not ask our students to look at S2py if this is not loadable in one expression! And it should be available in the configurationbrowser. Stef
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'ConfigurationOfRoassal2'; load. (Smalltalk at: #ConfigurationOfRoassal2) load.
And then we load Spy2.
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'S2py'; package: 'S2py'; load.
Hapao is already included on Spy2, so you donât have to do anything else.
To use Hapao you can do it from the WorldMenu or using a workspace like:
(Hapao2 runTestsForClasses: RTObject withAllSubclasses , RTTest withAllSubclasses) visualize or (Hapao2 runTestsForPackagesMatching: 'Nautilus*') visualize
I have already tried this on today fresh 4.0 image so unless I mess up on a commit tonight it should work.
Let us know how was your experience! All the feedback is welcome.
Cheers, Alejandro
On Dec 7, 2014, at 7:56 PM, sheridan@sheridan-mahoney.com wrote:
Hello,
I am trying to get Hapa'o loaded in a fresh 4.0 image, using the following command:
Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault
and I run across this error:
This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load these definitions: HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ...
This isn't something I'm familiar with, can someone tell me how to resolve it?
Many thanks,
Sheridan
But whatâs happen if I load S2py if I have roassal loaded already. Will it try to load it again? Alexandre
On Dec 16, 2014, at 10:35 PM, stepharo <stepharo@free.fr> wrote:
Le 8/12/14 06:06, Alejandro Infante a écrit :
Hello, Actually that version of Hapao is really outdated, currently we are using S2py, a brand new release of Spy that involve mayor changes in performance and design using everything that we learnt developing Spy.
Since it depends on Roassal2, you have to load it first.
NONO the S2py configuration should load roassal2. To not let end-user facing that dependency hell. I wrote several chapters and example, we wrote a tool to help people manage dependencies. So it can take less then 10 min to respect your users!
I will not ask our students to look at S2py if this is not loadable in one expression! And it should be available in the configurationbrowser.
Stef
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'ConfigurationOfRoassal2'; load. (Smalltalk at: #ConfigurationOfRoassal2) load.
And then we load Spy2.
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'S2py'; package: 'S2py'; load.
Hapao is already included on Spy2, so you donât have to do anything else.
To use Hapao you can do it from the WorldMenu or using a workspace like:
(Hapao2 runTestsForClasses: RTObject withAllSubclasses , RTTest withAllSubclasses) visualize or (Hapao2 runTestsForPackagesMatching: 'Nautilus*') visualize
I have already tried this on today fresh 4.0 image so unless I mess up on a commit tonight it should work.
Let us know how was your experience! All the feedback is welcome.
Cheers, Alejandro
On Dec 7, 2014, at 7:56 PM, sheridan@sheridan-mahoney.com wrote:
Hello,
I am trying to get Hapa'o loaded in a fresh 4.0 image, using the following command:
Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault
and I run across this error:
This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load these definitions: HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ...
This isn't something I'm familiar with, can someone tell me how to resolve it?
Many thanks,
Sheridan
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Tue, Dec 16, 2014 at 10:47 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
But whatâs happen if I load S2py if I have roassal loaded already. Will it try to load it again?
Well, generally with metacello: - if S2py requires roassal2 version 1 and you have no roassal => it will load it - if S2py requires roassal2 version 1 and you have version 1 => it will not load it again - if S2py requires roassal2 version 2 and you have version 1 => it will update it Guille
Alexandre
On Dec 16, 2014, at 10:35 PM, stepharo <stepharo@free.fr> wrote:
Le 8/12/14 06:06, Alejandro Infante a écrit :
Hello, Actually that version of Hapao is really outdated, currently we are using S2py, a brand new release of Spy that involve mayor changes in performance and design using everything that we learnt developing Spy.
Since it depends on Roassal2, you have to load it first.
NONO the S2py configuration should load roassal2. To not let end-user facing that dependency hell. I wrote several chapters and example, we wrote a tool to help people manage dependencies. So it can take less then 10 min to respect your users!
I will not ask our students to look at S2py if this is not loadable in one expression! And it should be available in the configurationbrowser.
Stef
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'ConfigurationOfRoassal2'; load. (Smalltalk at: #ConfigurationOfRoassal2) load.
And then we load Spy2.
Gofer new smalltalkhubUser: 'ObjectProfile' project: 'S2py'; package: 'S2py'; load.
Hapao is already included on Spy2, so you donât have to do anything
else.
To use Hapao you can do it from the WorldMenu or using a workspace like:
(Hapao2 runTestsForClasses: RTObject withAllSubclasses , RTTest
withAllSubclasses) visualize
or (Hapao2 runTestsForPackagesMatching: 'Nautilus*') visualize
I have already tried this on today fresh 4.0 image so unless I mess up
on a commit tonight it should work.
Let us know how was your experience! All the feedback is welcome.
Cheers, Alejandro
On Dec 7, 2014, at 7:56 PM, sheridan@sheridan-mahoney.com wrote:
Hello,
I am trying to get Hapa'o loaded in a fresh 4.0 image, using the
following command:
Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault
and I run across this error:
This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load
these definitions:
HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ...
This isn't something I'm familiar with, can someone tell me how to resolve it?
Many thanks,
Sheridan
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (5)
-
Alejandro Infante -
Alexandre Bergel -
Guillermo Polito -
sheridan@sheridan-mahoney.com -
stepharo