I have imported an Eclipse (Mars) project on another Computer with the latest version of Eclipse. Now Eclipse considers the /src/
folder as a part of the package name. E.g. src.org.domain.subdomain
instead of org.domain.subdomain
.
I can rename the package, removing src
but then Eclipse will actually move the folder to the root folder, but I want the source to stay in src
.
Is there a way to fix this? How does Eclipse determine what the root folder of the source is, is it possible to set this manually? Has this behavior changed from Mars to the latest version?
Thanks to daniu's comment I could resolve my issue, I'll quote it:
Select Project->Properties->Build Path, remove the existing source folders, select the folder "src".
Thanks!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With