Dear all,
I am populating the model with some elements obtained from a java file.
The moose GUI shows every single entities in the list of models. Is
this intended ?Is this normal?
http://www.iam.unibe.ch/~bergel/moose.tiff
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi
I'm about to write a new package reference plugin for moose.
Now I have to pay attention because of the way namespaces and
packages are orthogonal in Smalltalk.
I have a question:
when we will be loading java code in Moose what will be a Java package?
a moose namespace or a moose package?
If this is a namespace then I will have certainly to duplicate the
logic in package and namespace and I would like
to avoid that. Does anybody have an idea how to avoid that?
Stef
Hi doru
with azadeh we would to use group to represent the intermediate
result of applying a filter
on a model. Now the problem I have is that I cannot query a group as
model (may be I'm wrong).
Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a
group?
Stef
Dear MOOSEers,
As an exercise, I am parsing Java files and loading the corresponding
Java classes in a moose model.
Whereas it seems that I fill the model well, I got a rollback when
using the Moose GUI façade.
I spend some time on it, but I failed in trying to debug it.
It seems that a famix element should know about the model it is part
of. But I do not know how to set it.
the error comes from the method:
FAMIXAbstractStruture >>incomingAccesses
^self entityGroups at: #incomingAccesses ifAbsentPut: [self
mooseModel allAccesses select: [:each | each accesses = self]].
self mooseModel returns nil
If you want to try, you can load the package JavaSupport4Moose in the
SCGStore.
I attached a short java file to try this. Once the package loaded,
click on the "..." button in the Moose GUI.
The test Java4MOOSETest>>testReadingJavaFile is green
cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
that file (the version I took from the MSE4Java) doesn't seem to comply
to the MSE-specification.
Element-node with (id: 29) uses (name Transcript) while this should be
(name 'Transcript').
I hope that other readers than the one I am writing for python, also
break on this?
Then I saw that there are still some specification-errors on the
MSE-spec website (<boolean, <path> is
still used but not defined)
cheers,
toon
I am working on the handling of primitives in FM3 and Famix 3, and
would like to make a small survey on how primitives had been used in
Famix 2
- who used the custom primitives fature in Meta?
- who added a custom primitive other than Timestamp/Date/Time?
- which primitives are you missing?
I saw that dates are used in many projects (Chronia, Dude, etc...)
and hence suggest to include them in FM3 as built-in primitives. The
list of primitives is thus
String
Boolean
Number
Date (new)
with MSE format
string ::= ( "'" [^']* "'" )+
boolean ::= "true" | "false"
date ::= digit{4} "-" digit{2} "-" digit{2} ( ","digit{2} ":" digit
{2} ":" digit{2} )
number ::= "-"? digit+ ( "." digit+ )? ( "e" ( "-"? digit+ ))?
@toon, can you extend the MSEParser in Smalltalk to recognize this
token? I have only poor Store access here.
cheers,
AA
Hi Adrian,
There was an error in Moose due to HapaxModel being missing in the
last version of Hapax. So, I just published a branch with the removed
extension. Please, just add it back when it's fixed.
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."