I have classes called Logger and Error Handler in separate projects. These are each made into jar files which I can then use as libraries in various other projects.
I now need to use the static functions from Logger class in the Error Handler class. I also need to use the same functions from Logger class and some static functions from Error Handler class in class C which is in a separate project.
Right now I import the Logger jar inside Error Handler in order to use said functions and then export this entire thing as a jar.
And then in my class C I import the Error Handler Jar as well as the Logger jar.
So if I try to use any function from Logger, I get 2 import suggestions, 1 from the Error Handler jar and 1 from the Logger jar.
I want to avoid this as I would have to remake the Error Handler jar everytime there is a change in the Logger functions..
I hope that explains things better.