Hi Ernst,

I looked into your model and it is just fine (nice model though!).
I'm afraid you ran into a nasty bug. I sent a patch for this bug as an
attachment. I also uploaded the patch to mmapps.
The bug was in the code that sorted the modelelements. This patch no longer
sorts the builders, but at least generates them.

The patch actually shows you how you can easily adjust the templates if you
need to change them. In the modules/uml2mmbase-core/templates directory you
can put all templates that you need to change (the can be extracted from the
uml2mmbase-core.jar file).

Hope this helps,

Cheers.

Rudie.

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Ernst
> Bunders
> Verzonden: Thursday, November 11, 2004 10:27 AM
> Aan: [EMAIL PROTECTED]
> Onderwerp: RE: Uml2mmbase: default field values
> 
> 
> 
> 
> > -----Oorspronkelijk bericht-----
> > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Namens Rudie Ekkelenkamp
> > Verzonden: woensdag 10 november 2004 12:55
> > Aan: [EMAIL PROTECTED]
> > Onderwerp: RE: Uml2mmbase: default field values
> > 
> > 
> > Hi Ernst,
> > 
> > You can use as many diagrams as you like. It's only the model 
> > that counts. 
> 
> That's what I thought.
> 
> >But all model elements will be used, so if that 
> > is not your intention, that might be the cause of the 
> > problem... 
> 
> Well, the problem is that for all the builders in my model the app
> creates builderfiles and wizards. Allso in APPLICATION.xml both the
> neededreldeflist and allowedrelationlist are complete. Only the
> neededbuilderlist is missing about half the builders. There 
> are no error
> messages either.
> 
> > Are you using mmbase 1.6 or 1.7. The default is 
> > 1.7 now, so that might be a problem?
> 
> Nop. I'm using 1.7.
> 
> So. Is there anything you can think about? Is it possible that due to
> some error in the xmi file the creation of the neederbuilderlist is
> running into a problem? Or is it possible to get more verbose logging
> from uml2mmbase? I must say I'm a bit anxious about this..
> For completeness I include the zuml file. 
> 
> Regards,
> 
> Ernst
> 
> 
> > 
> > 
> > cheers,
> > 
> > Rudie.
> > 
> > 
> > 
> > > -----Oorspronkelijk bericht-----
> > > Van: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Ernst
> > > Bunders
> > > Verzonden: Wednesday, November 10, 2004 12:45 PM
> > > Aan: [EMAIL PROTECTED]
> > > Onderwerp: RE: Uml2mmbase: default field values
> > > 
> > > 
> > > 
> > > 
> > > > -----Oorspronkelijk bericht-----
> > > > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Namens Rudie Ekkelenkamp
> > > > Verzonden: woensdag 10 november 2004 12:09
> > > > Aan: [EMAIL PROTECTED]
> > > > Onderwerp: RE: Uml2mmbase: default field values
> > > > 
> > > > 
> > > > Hi Ernst,
> > > > 
> > > > I just created a uml2mmbase category, so you can add the RFE
> > > > there. Actually, there is also a UML2MMbase forum. I think 
> > > > that would be the preferred way to discuss UML2MMbase 
> > > > features. The mmbase users mailing list is probably not the 
> > > > best place to discuss this?
> > > > 
> > > > Rudie.
> > > 
> > > On the other hand, you need to log in to post to the forum
> > > and it is not
> > > exactly thriving. 
> > > So I will risk obusing this list some more.
> > > It seems I have a problem. I have made a nice model with 
> mmbase2uml.
> > > Now I am making some changes and try to convert it to an 
> > > mmbase app. All
> > > goes well except not alle builders are listed in the 
> > > neededbuilderlist.
> > > I do user a number of diagrams, assuming that that is ok. 
> > Am I right?
> > > Are there other tips you could give me to trouble shoot?
> > > Regards,
> > > Ernst
> > > 
> > > 
> > > > 
> > > > 
> > > > > -----Oorspronkelijk bericht-----
> > > > > Van: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] 
> > > > > Ernst Bunders
> > > > > Verzonden: Wednesday, November 10, 2004 11:55 AM
> > > > > Aan: [EMAIL PROTECTED]
> > > > > Onderwerp: RE: Uml2mmbase: default field values
> > > > > 
> > > > > 
> > > > > Wouldn't it be nice to add some categories to the RFE
> > > > section for the
> > > > > project? Like for every app in the project. Otherwise it
> > > > might get a
> > > > > bit messy
> > > > > 
> > > > > ernst
> > > > > 
> > > > > > -----Oorspronkelijk bericht-----
> > > > > > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > > > > > Namens Rudie Ekkelenkamp
> > > > > > Verzonden: woensdag 10 november 2004 11:28
> > > > > > Aan: [EMAIL PROTECTED]
> > > > > > Onderwerp: RE: Uml2mmbase: default field values
> > > > > > 
> > > > > > 
> > > > > > Hi Ernst,
> > > > > > 
> > > > > > It is currently not possible in UML2MMBase to specify 
> > a default 
> > > > > > value. But in UML you can specify an initial value 
> > which could 
> > > > > > be used to model de default value. So if it is 
> possible with 
> > > > > > edit wizards, it can be possible with UML2MMBase. 
> > Please add a 
> > > > > > RFE at mmapps.sourceforge.net for this feature.
> > > > > > 
> > > > > > FYI, I'm currently working on supporting the 
> > MagicDraw UML tool 
> > > > > > (which in my opinion is even better than Poseidon UML), for 
> > > > > > which also a community edition is available.. The 
> > next release 
> > > > > > of UML2MMBase will have this support.
> > > > > > 
> > > > > > cheers,
> > > > > > 
> > > > > > Rudie Ekkelenkamp.
> > > > > > 
> > > > > > > -----Oorspronkelijk bericht-----
> > > > > > > Van: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]
> > > > > > > Michiel Meeuwissen
> > > > > > > Verzonden: Wednesday, November 10, 2004 11:09 AM
> > > > > > > Aan: [EMAIL PROTECTED]
> > > > > > > Onderwerp: Re: Uml2mmbase: default field values
> > > > > > >
> > > > > > >
> > > > > > > Kees Jongenburger wrote:
> > > > > > > > On Wed, 10 Nov 2004 10:35:47 +0100, Ernst Bunders
> > > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > > > Is it possible to set default values for 
> fields? I can't
> > > > > > > find it in the
> > > > > > > > > document
> > > > > > > > This is not possible in mmbase , unless you create you
> > > > > > own builders
> > > > > > >
> > > > > > > Indeed, but he referred to UML2MMBase in which indeed
> > > > it would be
> > > > > > > imagineable, because it also generates 
> editwizards, IIRC. In
> > > > > > > Editwizard XML's you can specify defaults.
> > > > > > >
> > > > > > > Michie
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Michiel Meeuwissen                  mihxil'
> > > > > > > Mediacentrum 140 H'sum                [] ()
> > > > > > > +31 (0)35 6772979         nl_NL eo_XX en_US
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > 
> > > > > > 
> > > > > > 
> > > > 
> > 
> 
> 

<<attachment: winmail.dat>>

Reply via email to