This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29345 - Automatically created PrimitiveTypes package is not complete
Summary: Automatically created PrimitiveTypes package is not complete
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-06 08:39 UTC by _ briansmith
Modified: 2003-01-06 16:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ briansmith 2002-12-06 08:39:55 UTC
When the XMI Reader automatically generates the
PrimitiveTypes package (from a MOF 1.3 model), I
think that is should make sure it generates the
javax.jmi.packagePrefix tag for it. Also, instead
of including just the datatypes that are actually
used by the metamodel, I think it would be better
to always include all of them. That is, if the XMI
Reader adds the PrimitiveTypes package, it should
always add the XMI equivalent of:

package PrimitiveTypes
{
   tag "*tag" : javax.jmi.packagePrefix =
'javax.jmi' on PrimitiveTypes
   primitive type Boolean
   primitive type Integer
   primitive type Long
   primitive type Float
   primitive type Double
   primitive type String
}

Instead of just, e.g.:

package PrimitiveTypes {
   primitive type String
   primitive type Integer
}

I think it is too confusing to have a different
version of the PrimitiveTypes package for each
metamodel (e.g. some without "Boolean", most
without "Long", etc.).

Martin said "I agree" on dev@mdr.netbeans.org
Comment 1 Daniel Prusa 2003-01-06 16:23:00 UTC
Fixed.