Hi,
Because we had all sorts of problems with the Setup scripts in 7.6, I
extended the Setup package to also deal with the VW version.
So, now in your setup method you should both add the <user: yourname>
pragma and the <vwVersion: '7.x'> pragma.
I went over the existing setups and added the correct vwVersion: to
all setups. Please check if it works for you.
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"There are no old things, there are only old ways of looking at them."
Hi everyone,
I have uploaded a small set of changes to:
- MondrianUtils
- CodeFu-Graphics
Concerning:
- a GMLRenderer for Mondrian-like scripts (currently at the same
status as the graphvizRenderer)
(writes the GML format: http://www.infosun.fim.uni-passau.de/Graphlet/GML/)
- Previously, the SvgWriter could only write to a file. I have changed
it so it can also be used to generate the svg contents in a string
without creating an actual file. I found this useful to generate the
svg image in a method for use in Seaside.
- Some methods were missing (e.g. #displayLineFrom:to:) in the
SvgWriter. They were added.
Doru adviced me to create a specific branch of CodeFoo for this, so
that is where these changes are ;-)
cheers,
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
Hi!
Is there a description of this tool available somewhere? It is not
listed on moose's website.
I am interesting in knowing what has been done on using connecting
Java and Moose. I am already aware of Johan's work and J2Moose.
Anything else?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear list,
I have the following script to display dependencies between packages:
-=-=-=-=-=-=-=-=-=-=-=-=
| packages allClasses |
packages := mooseModel allNamespaces.
allClasses := mooseModel allClasses.
self assert: [allClasses notEmpty].
self assert: [packages notEmpty].
view nodes: packages forEach: [:each |
view nodes: each classes].
view edges: allClasses from: #yourself toAll: #dependentClasses.
-=-=-=-=-=-=-=-=-=-=-=-=
It display a 1-row heigh picture of packages. How can I add a layout
on it ? I think that a grid will be ideal.
I plan to add the list of scripts I am working on:
http://moose.unibe.ch/tools/Java4Moose/Mondrian+Scripts
I think this might help newbies in Mondrian...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear list,
I am still struggling in populating my meta model with Java code. It
is not clear to me how I can express dependencies. For example, I
have a class Point, and a second class PointFactory. I guess there
should be a famix entity intended to express this situation that
contains the following information:
- the method PointFactory>>createNewPoint has a reference to Point
Which of the FAMIXes classes should I use? FAMIXAccess,
FAMIXInvocation, FAMIXGlobalVariable?
Then, what should I do with this famix entity. The FAMIXMethod
(PointFactory>>createNewPoint) should know about it. Where should I
do an add: ? In FAMIXMethod>>accesses, incomingInvocations,
outgoingInvocations, ... ?
Side question, what is a group (e.g., incomingInvocationsGroup)?
Side questions 2: does it make sense that I add come comments in the
moose code and then publish it in Store? I will do this... This is
important I believe. But how can I do it? Sorry about my ignorance
about Store.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex,
And here are the answers for the other two questions.
On Apr 16, 2008, at 1:21 AM, Alexandre Bergel wrote:
> Side question, what is a group (e.g., incomingInvocationsGroup)?
The methods that end with Group offer the collection of entities in a
Group, and Group can be typed (e.g., ClassGroup) and such a typed
Group has methods with meta-descriptions that then are shown better in
the ui.
> Side questions 2: does it make sense that I add come comments in the
> moose code and then publish it in Store?
Of course, you can add comments :)
> I will do this... This is important I believe. But how can I do it?
> Sorry about my ignorance
> about Store.
I guess you are asking about the publishing policy. You can find
details here:
http://moose.unibe.ch/docs/dev/versioning
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"There are no old things, there are only old ways of looking at them."
Hi Ricky,
What an idiot I am! :-)
Indeed, it is returning a sorted copy! Now, it's working!
Thanks a lot!
Romain
-----Message d'origine-----
De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
Envoyé : mercredi 16 avril 2008 12:57
À : peirsro(a)ensieta.fr; Related to the development of Moose and other
related tools
Objet : Re: [Moose-dev] Re: Does the message sorted: in the method
MooseModel>>packagesDSM do anything?
Hi Romain,
I got your question wrong. That's why the #sorted: in
SequenceableCollection is returning a sorted copy of your collection,
and does not modify the original collection.
Ricky
On Apr 16, 2008, at 12:43 PM, Romain PEIRS wrote:
> Hi Ricky,
>
> Thanks for your answer. But my problem is that my collection is not
> sorted
> after this kind of message:
> aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
> staticNeededPackages size]
> I don't really understand why!
>
> Cheers
>
> Romain
>
>
> -----Message d'origine-----
> De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
> Envoyé : mercredi 16 avril 2008 12:15
> À : peirsro(a)ensieta.fr; Related to the development of Moose and other
> related tools
> Objet : Re: [Moose-dev] Does the message sorted: in the method
> MooseModel>>packagesDSM do anything?
>
> Hi Romain,
>
> #sorted: expects a block with 2 arguments, such as:
> aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
> staticNeededPackages size]
> which will sort the elements ascending.
> For more examples, just search for the senders of the selector
> #sorted:
>
> Cheers,
> Ricky
>
> On Apr 16, 2008, at 11:55 AM, Romain PEIRS wrote:
>
>> Hi everybody !
>>
>> Im working on the method MooseModel >> packagesDSM and I noticed
>> that the
>> message sorted: sent to an OrderedCollection doesnt sort anything!
>> I also tried with a simple condition of sort: p1staticNeededPackages
>> size
>>> p2staticNeededPackages size
>> I dont understand why the OrderedCollection is not sorted.
>> Have I forgot anything?
>>
>> Thanks
>>
>> Romain
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Ricky,
Thanks for your answer. But my problem is that my collection is not sorted
after this kind of message:
aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
staticNeededPackages size]
I don't really understand why!
Cheers
Romain
-----Message d'origine-----
De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
Envoyé : mercredi 16 avril 2008 12:15
À : peirsro(a)ensieta.fr; Related to the development of Moose and other
related tools
Objet : Re: [Moose-dev] Does the message sorted: in the method
MooseModel>>packagesDSM do anything?
Hi Romain,
#sorted: expects a block with 2 arguments, such as:
aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
staticNeededPackages size]
which will sort the elements ascending.
For more examples, just search for the senders of the selector #sorted:
Cheers,
Ricky
On Apr 16, 2008, at 11:55 AM, Romain PEIRS wrote:
> Hi everybody !
>
> Im working on the method MooseModel >> packagesDSM and I noticed
> that the
> message sorted: sent to an OrderedCollection doesnt sort anything!
> I also tried with a simple condition of sort: p1staticNeededPackages
> size
>> p2staticNeededPackages size
> I dont understand why the OrderedCollection is not sorted.
> Have I forgot anything?
>
> Thanks
>
> Romain
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi everybody !
Im working on the method MooseModel >> packagesDSM and I noticed that the
message sorted: sent to an OrderedCollection doesnt sort anything!
I also tried with a simple condition of sort: p1staticNeededPackages size
> p2staticNeededPackages size
I dont understand why the OrderedCollection is not sorted.
Have I forgot anything?
Thanks
Romain
Hi,
related to my previous question, I have a model loaded in moose which
I generated usinig the namespaceImporter. When I inspect the model all
the classes and methods are there but they are not displayed n the
browser.
Any ideas?
Orla
Hi everybody,
I have some trouble embedding an Eyesee diagram in an application
window. Right now, I basically put a VisualisationUI as a subcanvas.
The code snippets that illustrate the essential parts of that process
are below.
However, this does not seem to be an ideal solution. The diagram is
not scaled to the subcanvas (there are scrollbars) and I don't see how
to accomplish that. Maybe I'm doing something wrong and I should not
use the VisualisationUI as the subcanvas? Or maybe I can easily scale
the diagram to the size of the subcanvas? I only found a way to change
the zoom level.
Any help would be appreciated.
Thanks!
---- code snippets ----
....
theCanvas := Graphics.VisualizationUI new
....
diagramrenderer diagram gcWrapper:
EyeSee.DiagramGraphicsContextWrapper new.
diagramrenderer diagram setup.
...
postBuildWith: aBuilder
theCanvas visualization model: diagramrenderer.
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
Hi!
I wish to specify that a class belongs to a package. Which of these
invocations should I use?
famixClass setBelongsTo: package.
famixClass packageIn: package
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
THe following code used to export a moose model of moose but now is
not working.
Any ideas?
Thanks
Orla
|model |
model := MooseModel new.
model name: aName.
NameSpaceImporter new add: SCG.Moose; model: model; run.
MooseModel root addEntity: model.
In the last version of Moose, there is the following piece of code:
EntityState>>cache: selector initializer: aBlock
^self at: selector ifAbsentPut: [ aBlock cullValue: self entity ]
cullValue: does not exist. callValue: neither...
This raises some rollbacks in the moose GUI...
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear List,
As far as I understood, interfaces are implemented with FAMiXClass
for which the isInterface field is set to true. Fine. But how do I
set the link "isImplementedBy:" from a class to an interface? Is this
by declaring a superclass? That would look odd..
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
now raise an error with the last version of Moose.
Is there any test that cover these methods? I am not sure whether I
am filling the moose model in a wrong way.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I am thinking of starting another effort in April to extend
moose.unibe.ch, and I am looking for 1-2 people interested in giving a
hand with it. It would involve coding in Squeak and with Pier.
Please let me know if you would be willing to help.
Here are some use cases:
- make publications update periodically from external urls
- generate news for the newer publications (like on the scg website)
- make the tool page a special structure that has explicit pointers to
publications, to contributors and to the license
- describe the tool as active/inactive and build a museum for the
inactive tools (Michele's suggestion)
- have the contributor be a special structure where we can derive a
default profile based
- query the VW Store database for project information, and then link
the information with the existing publications and contributors
- an upload interface for case studies
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"To lead is not to demand things, it is to make them happen."
Hi,
I just noticed that Mondrian Easel doesnt work with Mondrian.Utils
version 1.38 and later (no problem with the previous versions). I have an
exception when I click on Open a Mondrian Easel.
Apparently, the problem is in the method
Mondrian.SearchAwareMondrianEasel>>postBuildWith:
The variable EaselHighlightingController is not understood.
How can I fix the problem?
Hi,
Moose can now be loaded in 7.6. There were a couple of problems, but I
think I managed to find them all. Please try to load and let me know
if you encounter problems.
Here are the most important problems:
1. in 7.6 they changed a bit the code to obtain all versions from a
Pundle (Pundle class>>allVersionsWithName:), and it appears that we
have a problem with the CodeFoo bundle in the database. I believe this
is due to Adrian renaming CodeFoo packages into CodeFu. I solved this
temporarily by adding a hack package that overrides the mentioned
behavior.
2. BlockClosure>>cull: had a different implementation in 7.6 then in
CodeFoo so now I renamed it in CodeFoo to cullValue:
3. due to the changes in Refactoring Browser in 7.6 the browser
extensions use now a different mechanism so a couple of packages that
extended the browser had problems. For the moment I solved the problem
by just removing the behavior.
4. a series of external packages needed to be updated in Store to work
with 7.6.
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"From an abstract enough point of view, any two things are similar."
Are there any plans making Moose load in VisualWorks 7.6?
- The Setup package breaks the launcher and the code browser.
Unfortunately MooseSetup (1.6,girba) also loads the Setup package.
- Then I tried to manually load Moose Config (1.25,girba), what
doesn't seem to reach an end and just keeps on loading forever.
Now I am lost ;-)
Btw, ASBAqua and ASBLook (from public StORE) are really cool if you
are on a Mac. For the first time it doesn't hurt to look at the VW
user-interface.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Thanks Alex!
I have a question: you parse the Java class until the method level, but
you do not parse what is inside the methods (method body), don't you?
I will send you a Java class to your private email account (just to not
pollute the mailing list) that can not be parsed, or at least I have the
following message:
"Token not expected in file c:\Documents and
Settings\garevalo\Escritorio\cliente3\cliente\Cliente.java"
Cheers,
Gabi
> ---------- Forwarded message ----------
> Date: Mon, 24 Mar 2008 17:23:30 -0400
> From: "Bergel, Alexandre" <bergel(a)iam.unibe.ch>
> Reply-To: Related to the development of Moose and other related tools
> <moose-dev(a)iam.unibe.ch>
> To: Related to the development of Moose and other related tools
> <moose-dev(a)iam.unibe.ch>
> Subject: [Moose-dev] Re: Importing JAva files into Moose
>
> Hola Gabriela!
>
> I recently worked on a Java importer for Moose. It works (for what I
> need it for :-)
> Look at the package JavaSupport4MOOSE on Store@SCG.
> You will have a new entry in the import button in the moose facade...
>
> Let me know, I provide free support :-)
> It does not import everything, but you should be able to have class
> inheritance and dependencies between classes. If you need other
> stuff, I can spend some time on this...
>
> Alexandre
>
>
> On 24 Mar 2008, at 17:16, Gabriela Arevalo wrote:
>
>> Hi guys,
>>
>> How do I import the Java Files into Moose?
>> I tried J2Moose, but the only info I get in the .mse file is the
>> following:
>>
>> (Moose.Model (entity
>>
>> ))
>>
>> I installed the J2Moose plugin into Eclipse and when I execute the
>> J2Moose>J2Moose, I do not get any information.
>>
>> CHeers,
>>
>> gabi
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
Dear all,
Anyone knows the magic invocation to extract the content of an easel?
Ideally, I would like to provide a script and to get a .jpg/png/
whatever.
I am not that fit with the VW GUI...
Thanks,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear list,
Mondrian is a great tool :-)
I have a question, how can I add a label under a box. I tried the
following script:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
view nodes: mooseModel allClasses forEach: [:each |
view newShape label text: #name.
view verticalLineLayout.
].
view edgesFrom: #superclass.
view treeLayout.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
But I still have unlabeled boxes...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.