The package prefix is missing in directory tree -- how to handle it with Eclipse?
*I downloaded some Java program sources, and I try to import them to Eclipse.*

Let's say I have package with name "com.bar.foo.my", and the directory is set like this:

    src/bar/foo/bar/my

so sources have their distinct directory but level "com" is missing.

**Question:** How can I set Eclipse so it would understand this "shortcut"?


The package prefix is missing in directory tree -- how to handle it with Eclipse?
===

*I downloaded some Java program sources, and I try to import them to Eclipse.*

Let's say I have package with name "com.bar.foo.my", and the directory is set like this:

    src/bar/foo/bar/my

so sources have their distinct directory but level "com" is missing.

**Question:** How can I set Eclipse so it would understand this "shortcut"?

