Firstly I want to create a custom user library with the following structure:
src:
I have no problem with this one. Later I want to import this library into the other project and call
import LibA.*;
(to use both classes of pack1 and pack2),
which will fail as it requires full name, i.e.
import LibA.pack1;
How can I import the whole library at once to be able to use both classes of pack1 and pack2?
P.s. It's definitely not called "nested packages" but I have no idea how to call this.
P.p.s. I'm using Eclipse if it matters.
Thanks in advance:)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…