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.
Summary: | Ctrl-Click does not jump to source in extra-compilation-unit | ||
---|---|---|---|
Product: | apisupport | Reporter: | tomwheeler <tomwheeler> |
Component: | Project | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | CC: | kitsooftlk |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Suite to illustrate problem with generated source |
Description
tomwheeler
2007-06-01 17:21:28 UTC
Probably you need to put the *output* dir in cp.extra, not the source dir. If you have a minimal demo project (also for issue #105172), that would be more helpful since then I could try it and see what exactly you are talking about. I will create a suite to illustrate the problem this afternoon. Created attachment 43133 [details]
Suite to illustrate problem with generated source
The attached suite uses JAXB (via included library module) to generate Java code from schema. This was created and verified using NB 6.0 Milestone 8 on Windows XP under Java 1.6.0. To see for yourself, build the project and then open the SchemaGeneratedClassUser source in the editor. Doing a Ctrl+Click on a reference to the Advisor class works (I assume because it is in the src tree), while doing the same to the generated Address or Datebook classes does not. I tried various combinations of cp.extra in project.properties, but none solved this problem. Working for me in 070601 just the way you have it. Unpacked and built the suite, opened the class you mentioned (and its containing project), Ctrl-Click worked in all cases. I just downloaded today's daily build and confirm that it works as Jesse says. |