Summary: | SourceAttachment - automatic computation of the package root does not work (1GCMTLP) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | martinae | ||||
Version: | 2.0 | ||||||
Target Milestone: | 2.1 M4 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Philipe Mulet
2001-10-10 22:51:53 EDT
Not critical PRODUCT VERSION: SDK 46 Reopening Clearing resolution *** Bug 3359 has been marked as a duplicate of this bug. *** Created attachment 2032 [details]
Patch to compute the root path automatically
I don't want to lose this code. So I put it here for now. We need a way to distinguish between no source root and an empty source root. The code to infer the source root is ready, but cannot be fully tested without resetting manually the source root to null when it is already set. The source root is no longer persisted if set to null. Also changed the algorithm to compute the root from the first .java file's package declaration. Verified. |