I got a java source code from an opensource project. The source code doesn't have eclipse project specific files such as .project ,.classpath ,.setting(directory). How can I import that java source into eclipse ?
I don't have pom.xml(mvn) file to specify. So I tried manually.
followed the below steps to solve
If you doesn't have .project .classpath and .settings file, Representing the project isn't eclipse project, so you should create a standard eclipse project
you can following below step:
Remember config your source code location:
project ->Properties ->Java Build Path ->Source
if you are using maven type mvn eclipse:eclipse
on project folder
if you are not using maven, go to eclipse, import->import -> general -> filesystem (then select your directory with source files)
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