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 82248 - Generate Code doesn't work for nested classes
Summary: Generate Code doesn't work for nested classes
Status: VERIFIED DUPLICATE of bug 87373
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks: 78455
  Show dependency tree
 
Reported: 2006-08-09 10:48 UTC by Alexandr Scherbatiy
Modified: 2006-11-07 10:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-08-09 10:48:46 UTC
Steps to reproduce:

- Create a UML 'Java-Platform Model' project, 
  uncheck 'Source-Model Synchronization' check box
- Create a Class diagram
- Put class element on the diagram and name it 'Class1'
- Put class element on the diagram and name it 'Class2'
- Draw 'Nested' link from 'Class2' to 'Class1'

- Create an empty  Java project
- Go to the UML project properties
- Check 'Source-Model Synchronization' check box
- Select the Java project from the Java Project
  drop-down list
- Press OK button

- Select the UML project and invoke 'Generate Code'
- Go to the source of 'Class1' class element

  The 'Class1' class does not contain code 
    for 'Class2' nested class.
Comment 1 Craig Conover 2006-08-10 00:47:49 UTC
This is a code generation subcomponent, not synchronization. Reclassified issue.
Comment 2 Craig Conover 2006-08-10 01:05:41 UTC
This is working now. Please try to reproduce.
Comment 3 Alexandr Scherbatiy 2006-08-10 08:31:04 UTC
Try to create classes under UML Project Model tree, not under any packages.
Comment 4 Craig Conover 2006-10-19 02:25:53 UTC
Marking as duplicate of 87373. I know this is actually the original, but the new
issue has updated info based on the current state of affairs for roundtrip
redesign. I took care of adding the issue block and status whiteboard field.

*** This issue has been marked as a duplicate of 87373 ***
Comment 5 Alexandr Scherbatiy 2006-11-07 10:44:16 UTC
the riit issue is fixed