title: Nested packages in Java
body: <p>Firstly I want to create a custom user library with the following structure:</p>
  
  <p>src:</p>
  
  <ul>
  <li>LibA.pack1
  <ul>
  <li>ClassName0.java</li>
  </ul></li>
  <li>LibA.pack2
  <ul>
  <li>ClassName1.java</li>
  </ul></li>
  </ul>
  
  <p>I have no problem with this one. Later I want to import this library into the other project and  call</p>
  
  <pre><code>import LibA.*;
  </code></pre>
  
  <p>(to use both classes of pack1 and pack2),
  which will fail as it requires full name, i.e. </p>
  
  <pre><code>import LibA.pack1;
  </code></pre>
  
  <p>How can I import the whole library at once to be able to use both classes of pack1 and pack2?</p>
  
  <p>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.</p>
  
  <p>Thanks in advance:)</p>