I wouldn't be entirely opposed to having an abstract configuration class, but I hate to switch the configuration structure in midstream again... it is very nice that a config can be loaded into any old smalltalk image without any prerequisites....
The #ensureMetacello method should simply load ConfigurationOfMetacello and go from there ...
To require an abstract configuration class, I would want that class to be in the core for Pharo, GemStone and Squeak ... Metacello is already bundled with the core in GemStone so that leaves Squeak ... I really don't want to have to preface all of the install instructions with "Before loading the configuration, make sure that you've done X, Y and Z"
If bootstrapping is the only consideration, I don't think it is worth making the change ... there isn't a lot protocol that I would want to put into the Abstract configuration class ... project instance variable and method ...
If there are enough other arguments for an Abstract configuration class, then it would be good to make the switch sooner rather than later.
Being able to view the configurations using a hierarchy browser is an advantage, but that's more of a tools issue.
As I think about it, most of the advantages that come to mind are tools related. Even bootstrapping is a tools issue of sorts...
What do others think?
Dale
----- "Tudor Girba" <tudor.girba(a)gmail.com> wrote:
| Oh! I am slightly embarrassed :)
|
| I updated ConfigurationOfMooseJEE to use the latest
| ConfigurationOfMetacello and indeed it works.
|
| But I think this basically means that it starts to make sense to have
|
| an abstract configuration in Pharo-Core, because copy paste just does
|
| not scale anymore.
|
| Cheers,
| Doru
|
| p.s. Btw, I love the progress bar :)
|
|
| On 11 Dec 2009, at 19:24, Dale Henrichs wrote:
|
| > Doru,
| >
| > I looked at the #ensureMetacello method ConfigurationOfMooseJEE, but
|
| > didn't notice (the first, second and third time that I looked:) that
|
| > it is using MetacelloConfiguration so latest version isn't getting a
|
| > recent enough version of Metacello ...
| >
| > So update the ConfigurationOfMooseJEE class>>ensureMetacello to boot
|
| > with ConfigurationOfMetacello instead of MetacelloConfiguration...
| >
| > Dale
| > ----- "Dale Henrichs" <dale.henrichs(a)gemstone.com> wrote:
| >
| > | Doru,
| > |
| > | Things worked fine (well almost fine) with my first try at
| loading
| > | MooseJEE ... initialization failed in FSPlatformResolver, because
| > | there is no FSUnixResolver, however the Morphic-MorphTreeWidget
| is
| > | being loaded. I used this expression:
| > |
| > | Gofer new squeaksource: 'MooseJEE'; addPackage:
| > | 'ConfigurationOfMooseJEE'; load.
| > | (Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
| > |
| > | ... This test was run with 1.0-beta.18 preloaded, so I will try
| > again
| > | with a virgin image...
| > |
| > | Dale
| > | ----- "Tudor Girba" <tudor.girba(a)gmail.com> wrote:
| > |
| > | | Hi,
| > | |
| > | | A strange problem, that appeared before but was solved at the
| > time,
| > |
| > | | seems to resurface again in a slightly different context.
| > | |
| > | | It is related to the Morphic-MorphTreeWidget from the Momo
| > | | squeaksource repository. This is needed in Glamour.
| > | |
| > | | Glamour is needed in Moose.
| > | |
| > | | Now, if you load ConfigurationOfMoose, it all works fine:
| > | |
| > | | Gofer new squeaksource: 'Moose'; addPackage:
| > 'ConfigurationOfMoose';
| > |
| > | |
| > | | load.
| > | | (Smalltalk at: #ConfigurationOfMoose) perform: #loadDefault
| > | |
| > | | However, Moose is needed in MooseJEE. And if you load
| > | | ConfigurationOfMooseJEE it does not work anymore:
| > | |
| > | | Gofer new squeaksource: 'MooseJEE'; addPackage:
| > | | 'ConfigurationOfMooseJEE'; load.
| > | | (Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
| > | |
| > | | If you look in the packages to load, Morphic-MorphTreeWidget
| does
| > | not
| > | |
| > | | seem to appear among them in the latter case.
| > | |
| > | | I would need help for this one, if someone has time to look
| into
| > | that
| > | | :)
| > | |
| > | | Cheers,
| > | | Doru
| > | |
| > | | --
| > | | www.tudorgirba.com
| > | |
| > | | "The coherence of a trip is given by the clearness of the
| goal."
|
| --
| www.tudorgirba.com
|
| "Presenting is storytelling."
Doru,
I looked at the #ensureMetacello method ConfigurationOfMooseJEE, but didn't notice (the first, second and third time that I looked:) that it is using MetacelloConfiguration so latest version isn't getting a recent enough version of Metacello ...
So update the ConfigurationOfMooseJEE class>>ensureMetacello to boot with ConfigurationOfMetacello instead of MetacelloConfiguration...
Dale
----- "Dale Henrichs" <dale.henrichs(a)gemstone.com> wrote:
| Doru,
|
| Things worked fine (well almost fine) with my first try at loading
| MooseJEE ... initialization failed in FSPlatformResolver, because
| there is no FSUnixResolver, however the Morphic-MorphTreeWidget is
| being loaded. I used this expression:
|
| Gofer new squeaksource: 'MooseJEE'; addPackage:
| 'ConfigurationOfMooseJEE'; load.
| (Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
|
| ... This test was run with 1.0-beta.18 preloaded, so I will try again
| with a virgin image...
|
| Dale
| ----- "Tudor Girba" <tudor.girba(a)gmail.com> wrote:
|
| | Hi,
| |
| | A strange problem, that appeared before but was solved at the time,
|
| | seems to resurface again in a slightly different context.
| |
| | It is related to the Morphic-MorphTreeWidget from the Momo
| | squeaksource repository. This is needed in Glamour.
| |
| | Glamour is needed in Moose.
| |
| | Now, if you load ConfigurationOfMoose, it all works fine:
| |
| | Gofer new squeaksource: 'Moose'; addPackage: 'ConfigurationOfMoose';
|
| |
| | load.
| | (Smalltalk at: #ConfigurationOfMoose) perform: #loadDefault
| |
| | However, Moose is needed in MooseJEE. And if you load
| | ConfigurationOfMooseJEE it does not work anymore:
| |
| | Gofer new squeaksource: 'MooseJEE'; addPackage:
| | 'ConfigurationOfMooseJEE'; load.
| | (Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
| |
| | If you look in the packages to load, Morphic-MorphTreeWidget does
| not
| |
| | seem to appear among them in the latter case.
| |
| | I would need help for this one, if someone has time to look into
| that
| | :)
| |
| | Cheers,
| | Doru
| |
| | --
| | www.tudorgirba.com
| |
| | "The coherence of a trip is given by the clearness of the goal."
Hi Moosers,
I just loaded Moose in the latest Pharo-Dev using the script on your website but I got a bunch of unloadable definitions:
This package depends on the following classes:
MorphTreeModel
MorphTreeColumn
MorphTreeNodeModel
I did a proceed and obviously, Moose Finder does not open :-(
Can you help me out ?
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
Doru,
Things worked fine (well almost fine) with my first try at loading MooseJEE ... initialization failed in FSPlatformResolver, because there is no FSUnixResolver, however the Morphic-MorphTreeWidget is being loaded. I used this expression:
Gofer new squeaksource: 'MooseJEE'; addPackage:
'ConfigurationOfMooseJEE'; load.
(Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
... This test was run with 1.0-beta.18 preloaded, so I will try again with a virgin image...
Dale
----- "Tudor Girba" <tudor.girba(a)gmail.com> wrote:
| Hi,
|
| A strange problem, that appeared before but was solved at the time,
| seems to resurface again in a slightly different context.
|
| It is related to the Morphic-MorphTreeWidget from the Momo
| squeaksource repository. This is needed in Glamour.
|
| Glamour is needed in Moose.
|
| Now, if you load ConfigurationOfMoose, it all works fine:
|
| Gofer new squeaksource: 'Moose'; addPackage: 'ConfigurationOfMoose';
|
| load.
| (Smalltalk at: #ConfigurationOfMoose) perform: #loadDefault
|
| However, Moose is needed in MooseJEE. And if you load
| ConfigurationOfMooseJEE it does not work anymore:
|
| Gofer new squeaksource: 'MooseJEE'; addPackage:
| 'ConfigurationOfMooseJEE'; load.
| (Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
|
| If you look in the packages to load, Morphic-MorphTreeWidget does not
|
| seem to appear among them in the latter case.
|
| I would need help for this one, if someone has time to look into that
| :)
|
| Cheers,
| Doru
|
| --
| www.tudorgirba.com
|
| "The coherence of a trip is given by the clearness of the goal."
Hi,
A strange problem, that appeared before but was solved at the time,
seems to resurface again in a slightly different context.
It is related to the Morphic-MorphTreeWidget from the Momo
squeaksource repository. This is needed in Glamour.
Glamour is needed in Moose.
Now, if you load ConfigurationOfMoose, it all works fine:
Gofer new squeaksource: 'Moose'; addPackage: 'ConfigurationOfMoose';
load.
(Smalltalk at: #ConfigurationOfMoose) perform: #loadDefault
However, Moose is needed in MooseJEE. And if you load
ConfigurationOfMooseJEE it does not work anymore:
Gofer new squeaksource: 'MooseJEE'; addPackage:
'ConfigurationOfMooseJEE'; load.
(Smalltalk at: #ConfigurationOfMooseJEE) perform: #loadDefault
If you look in the packages to load, Morphic-MorphTreeWidget does not
seem to appear among them in the latter case.
I would need help for this one, if someone has time to look into that :)
Cheers,
Doru
--
www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."
Hi, all,
something that is a major inconvenience: with todays default
configuration of moose, a bunch of glamour basic examples hang Pharo.
I submitted a bugreport: http://code.google.com/p/moose-technology/issues/detail?id=258
that uses one case but there are many more. Select something in a
list and the image hangs.
A bit of a shame, I wanted to play around with Glamour to implement
the control panel for AspectMaps, but now I cannot do anything at
all :-(
--
Johan Fabry
jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
The comment of this version says:
-=-=-=-=-=-=-=-=-=-=-=-=
This version contains a number of important refactorings and
improvement:
- MOGraphElement.children has been renamed into MOGraphElement.nodes
- allChildrenDo: -> allNodesDo:
- added a method MOGraphElement>>handleException: that handle error.
Normally, an image should not freeze when rendering an erroneous
Mondrian script.
- Bug fixed in MOGraphElement>>elementAt:ifAbsent: This solve the
ISSUE #193. A test has been added:
MOViewRendererTest>>testEdgeContainsPointWithEdges
- recagorization of methods in MOArrowedOrthoVerticalLineShape
- Bug fixed in MOLineShape>>containsPoint:for: This solved the ISSUE
#249. The problem stems from using CurvedLine. I added a test
MOViewRendererTest>>testEdgeContainsPointCurveFitter for this
- Added a safeguard in MOAnnouncer>>popupText:
All 164 Test methods are green!
-=-=-=-=-=-=-=-=-=-=-=-=
Doru, I wanted to do a merge with tg.296, but you redefined
MOSplineShape>>display:on: and I provide a new version of this method
(I refactored some part). Maybe you want to do the merging of this
method. I can do it if you want.
I am now updating the corresponding issues in code.google.com
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi there the infusion team
I would like to know if/how inFusion handles calls in static block in Java. I can not find such invocations in a model. Would it be complicated to add them?
I have the following sample:
class KeyMapping {
static final KeyMapping keyMapping1 =
new KeyMapping(KeyEvent.VK_LEFT,
KeyEvent.VK_RIGHT,
KeyEvent.VK_UP,
KeyEvent.VK_SPACE);
static final KeyMapping keyMapping2 =
new KeyMapping(KeyEvent.VK_X,
KeyEvent.VK_V,
KeyEvent.VK_D,
KeyEvent.VK_ALT);
int left, right, thrust, fire;
KeyMapping(int k_left, int k_right, int k_thrust, int k_fire) {
left = k_left;
right = k_right;
thrust = k_thrust;
fire = k_fire;
}
}
--
Simon