Eclipse javadoc: The type package-info is already defined -
os: windows 7 x64
eclipse platform: 3.7.2.m20120208
m2e: 1.0.200.20111228-1245
have similar problem in bug. there bunch of package-info.java
files in /src
, /test
folders, have same package. eclipse show error:
"the type **package-info** defined"
i can delete package-info.java
files either in /test
or /src
avoid problem indication. workaround not comfort since using scm , need delete files time after update. same eclipse platform 4.2.0.i20120608-1400
there few options solve this:
- move away package-info.java files, , replace them package.html files.
- only have package-info.java files in src/ tree, same-named packages in test/ tree "overlap" src/ tree.
- generate javadoc separately src/ , test/ trees, different audiences.
Comments
Post a Comment