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 82529 - UML Java Platform based projects need a "Target JDK Platform" property
Summary: UML Java Platform based projects need a "Target JDK Platform" property
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 22:28 UTC by Craig Conover
Modified: 2006-08-31 04:55 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 Craig Conover 2006-08-11 22:28:51 UTC
Whenever code generation for Java Platform-based Model projects comes into play,
it is useful to know what the intended JDK platform will be so that the
appropriate business rules can be followed. For instance, JDK 1.5 supports
generics and enum keyword, whereas JDK 1.4 and prior do not.

If the UML project is already associated with a Java project, it is easy to get
the JDK platform type from it. But when you have a UML Java Platform Model
project type with no current Java Project association, it will be problematic
for the modeler if they are modeling and freely using JDK 1.5+ features, and
then they go to associate the model project with a Java project based on JDK
1.4. The Code Generation will fail. So in this case, it is imperative that the
modeler be able to specify up front which JDK platform they intend to target.

Default should be the same as the default for Java project types and the list of
Java Platforms should be pulled from the same list source that Java projects use.

There are some current issues that are dependent on this feature.