Bug 86167 - [1.5] Add support for package-info.java
Summary: [1.5] Add support for package-info.java
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 87570 (view as bug list)
Depends on:
Blocks: 86380
  Show dependency tree
 
Reported: 2005-02-22 12:51 EST by Olivier Thomann CLA
Modified: 2005-03-31 20:38 EST (History)
0 users

See Also:


Attachments
First patch (9.78 KB, patch)
2005-02-23 16:29 EST, Olivier Thomann CLA
no flags Details | Diff
Updated patch to apply on HEAD (11.54 KB, patch)
2005-02-24 14:59 EST, Olivier Thomann CLA
no flags Details | Diff
New patch to apply on HEAD (12.17 KB, patch)
2005-03-09 16:44 EST, Olivier Thomann CLA
no flags Details | Diff
New patch to apply on HEAD (13.49 KB, patch)
2005-03-09 17:01 EST, Olivier Thomann CLA
no flags Details | Diff
New patch to apply on HEAD (updated for all parsers) (21.16 KB, patch)
2005-03-10 11:10 EST, Olivier Thomann CLA
no flags Details | Diff
Apply on HEAD (1.80 KB, patch)
2005-03-30 23:08 EST, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2005-02-22 12:51:41 EST
The compiler should support a file called package-info.java. This file replaces
the package.html file. If it is present, it should be used by a documentation
generation tool.
See for details:
http://www.onjava.com/pub/a/onjava/2004/04/21/declarative.html?page=last
Comment 1 Olivier Thomann CLA 2005-02-23 16:29:55 EST
Created attachment 18261 [details]
First patch
Comment 2 Olivier Thomann CLA 2005-02-24 14:59:00 EST
Created attachment 18292 [details]
Updated patch to apply on HEAD
Comment 3 Olivier Thomann CLA 2005-03-09 16:44:46 EST
Created attachment 18609 [details]
New patch to apply on HEAD
Comment 4 Olivier Thomann CLA 2005-03-09 17:00:34 EST
*** Bug 87570 has been marked as a duplicate of this bug. ***
Comment 5 Olivier Thomann CLA 2005-03-09 17:01:10 EST
Created attachment 18611 [details]
New patch to apply on HEAD
Comment 6 Olivier Thomann CLA 2005-03-10 11:10:26 EST
Created attachment 18649 [details]
New patch to apply on HEAD (updated for all parsers)
Comment 7 Olivier Thomann CLA 2005-03-10 11:29:49 EST
Patch released in HEAD.
Comment 8 Olivier Thomann CLA 2005-03-30 23:07:34 EST
There is a problem if the package-info.java contains a problem. a NPE is thrown
in the compilation unit declaration resolution.
I will attach a patch for this problem.
Comment 9 Olivier Thomann CLA 2005-03-30 23:08:28 EST
Created attachment 19392 [details]
Apply on HEAD
Comment 10 Philipe Mulet CLA 2005-03-31 03:47:39 EST
+1 for M6
Comment 11 Philipe Mulet CLA 2005-03-31 03:51:20 EST
Released patch.
Comment 12 Philipe Mulet CLA 2005-03-31 03:51:57 EST
Olivier - pls add some regression test case.
Comment 13 Olivier Thomann CLA 2005-03-31 20:38:47 EST
Verified in I20050331-2000