[metaas-dev] Integration to Violet UML, 2 bugs

David Holroyd dave at badgers-in-foil.co.uk
Wed Jun 27 23:23:59 UTC 2007


On Wed, Jun 27, 2007 at 11:55:18AM -0700, Adam Breindel wrote:
> I wanted to announce that I've done a quick 0.1 integration of metaas
> 0.7 into Cay Horstmann's Violet UML modeling tool.

Wow.  Rock!


> Also wanted to mention 2  bugs I came across. Apologies in advance if
> these are well-known issues on the mailing list.
> 
> First, absence of "protected" visibility. I took a quick hack at
> changing the ANTLR grammar, building, and swapping in new Lexer/Parser
> classes, and adjusting metaas a little, thinking this would be
> trivial. It probably is, but I think I'm too much of an ANTLR n00b to
> get it to work. The resulting code did run, but had a bunch of
> problems parsing at runtime, so obviously I broke something. I'll
> probably circle back on this at some point.

Ok, I've just added support for the 'protected' keyword (and 'internal',
while I was at it).


> Second, when metaas writes out interface code to a file, it is missing
> a space between the package keyword and the package name: e.g.,
> 
> packageVASGenDefault{

Ah, thanks for pointing that out.  I've committed a fix to the Svn trunk
for that too.

The trunk currently has a bunch of unfinished stuff relating to
expression handling, so I can't really do a release just yet.  Also, I
lost a bit of work on that area due to an HDD failure a while back, and
haven't really been working with the metaas code since then (it was a
bit demotivating).  I *have* been hacking on my wsdl2as compiler
recently though, and that's a totally metaas-based project, so I should
get back to this at some point.

If you want to try out the fixes, the codebase from the trunk should be
working (the unit tests all pass, anyway)



ta,
dave

-- 
http://david.holroyd.me.uk/



More information about the metaas-dev mailing list