-----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