I sometimes manage to import java projects after a try-and-error process; I would like to learn the right away to do it.
Suppose that I want to import all the code of Apache Tomcat (it contains code under the packages javax... and org.apache...). I want to call the Solution ApacheTomcat. At that point models have to be called ApacheTomcat.xyz but the importer complains because it want the name of the model where to import the file to be named as the package. At this point I get stuck, sometimes through some rename I managed to trick the importer but it is a clumsy black magic that I am not able to repeat constantly.
How should I proceed?