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:

  1. move away package-info.java files, , replace them package.html files.
  2. only have package-info.java files in src/ tree, same-named packages in test/ tree "overlap" src/ tree.
  3. generate javadoc separately src/ , test/ trees, different audiences.

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -