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 100262 - Navigate to Source doesn't work after code gen on the model
Summary: Navigate to Source doesn't work after code gen on the model
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-06 22:13 UTC by Peter Lam
Modified: 2007-04-10 01:40 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 Peter Lam 2007-04-06 22:13:21 UTC
NetBeans IDE Dev (Build 200704051800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
UML build 070406_11

Repro steps:
- create a uml java-platform project
- create a class diagram
- create and name a class element
- create a java application
- generate code to the java application project
- right click on the class element from either the class diagram or from the
project tree and select Navigate to Source
Result: nothing happens. Source is not opened up.
Comment 1 Viktor Lapitski 2007-04-06 22:40:21 UTC
yep, i see. Though after several codegens with attributes/operations/etc.. added
it starts to work for me. Looks promising :) 
Comment 2 Viktor Lapitski 2007-04-07 02:22:46 UTC
incorrectly stored associated source file at the first codegen, ie. when file 
didn't exist. Also corrected specific search case in default package.
 
Comment 3 Peter Lam 2007-04-10 01:40:35 UTC
verified in build 070409_13.