java - Organise Imports (partially) not working for my own library in Eclipse -
i created simple library project shared among app projects. there 2 files in library, each declaring helper class same name .java file:
util1.java --> public class util1 util2.java --> public class util2
initially util1
not declared public.
for reason organise imports command detects util2
class , auto-imports that, not util1
. manually adding import util1
works should, i'd automatic import.
naturally, ran project clean multiple times on both library , app project.
edit: after adding more classes, find problem in 1 file. particular file log.java
containing class log
(lowercase obvious reasons). file declares class lowercase problem seems connected fact. have tried renaming file l.java , few other variants, auto-import still didn't work. naturally, before file moved library , part of original project, autoimported fine.
how can fix files recognised , auto-imported?
Comments
Post a Comment