hey

I experimented a little more with profiles but it seems i can't get
them to work...
This is the way i create and use my own profile:
- use MagicDraw standard edition, create a new package, delete all other
possible packages (MagicDraw, UML standard) and choose to export the
package with format: name-1.0.xml.zip
- Create a new project and select File | Use Profile/Module and choose
andromda-profile and my own profile
- In the mda\ directory add a dependency for the new profile in project.xml

If I follow these steps, code is not generated in the right way: some
stereotypes are 'processed' and some not. "Entity" is processed,
"Service" not and none of the stereotypes in my profile. And the
cartridge works fine (i think) because if i choose File | Import... to
add the profiles, everythingh works fine. Luckily a working
alternative, but i don't see why the other method does not work. Any
ideas?

Thanks!
Raf
P.S. Chad> did you find time to set up the contribution directory in cvs?

On Mon, 13 Dec 2004 10:18:29 -0700, Chad Brandon <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons
> Sent: Monday, December 13, 2004 10:16 AM
> To: Raf Haesen
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] problem with identifier attributes
> 
> hi Raf,
> 
> are you sure the datatypes are properly loaded too ? I'm not sure, but I
> believe it's only possible to load a single module at a time (I would have
> to check to make sure though)
> 
> [CB] You can load as many modules as you'd like.
> 
> 
> 
> the error you see makes me think it is related to the fact that no proper
> type has been assigned to the attribute, the type must be
> platform-independent and mapped to a platform specific type (alternatively
> the type is a class from the UML model itself)
> 
> for example:
> 
> datatype.int --> int
> 
> the mapping is controlled using XML mapping files
> 
> -- Wouter
> 
> > Hello all
> >
> > I've got a very weird error: my own cartridges and example projects
> > work(ed) fine until I a added an own UML profile. As soon as I add the
> > profile in an example, the code generation fails: everything goes fine
> > except for identifier attributes, with I don't add manually and thus
> > should be generated. The name is for example still generated
> > correctly, but all other operations fail: $attribute.sqlType gives a
> > NullPointerException and for example
> > "$attribute.type.fullyQualifiedName id" is generated as such...
> >
> > I don't get why adding the profile makes the project fail... any ideas?
> >
> > Thanks in advance
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://productguide.itmanagersjournal.com/
> > _______________________________________________
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
> >
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
> 
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to