I've got 45 java packages I've imported into a src
folder in Eclipse. Each of course has a particular name, and contains numerous java files. Problem is that the import statements in the packages' classes all refer to the various packages (including themselves in the package
line) with an initial prefix name.
So for example, if the package name is
snowman.image
the java files within start with abc.snowman.image
and refer to another package named snowball.hit
as abc.snowball.hit
. Needless to say, Eclipse complains that these packages referred to in the code do not exist.
I'm thinking I must've done something wrong. Did I import the packages incorrectly? Can I change some property so that the prefix is understood before the packages' names. I'd rather not go through hundreds of java files and manually change the package
and import
names.