I'm learning JAVA with Eclipse (ADT , Latest version - For Android development).
Each lesson we enhance the same project. (I don't like this approach)
So - I want to create different project for each lesson so :
Each lesson I'm cloning the main folder - and then I import it as an existing project.
( I thought that cloning + renaming the folder - would be fine)
But :
Eclipse says that the project already exists. (make sense)
Question
If I have a folder that contains a project ( LeadoMat
) :
, And I'm creating folder LeadoMat_Ver2
( cloned files)
— How/What should I do in order for eclipse to accept it as a new project named : LeadoMat_Ver2
?
Best way is to copy the . metadata folder to a new folder and open that folder in Eclipse Workspace dialog box. Show activity on this post. Just copy the whole workspace on your local file system.
Select the "File" > "Import" option from the menu: Select the "General" > "Projects from Git" option. Select the "Clone URI" option and click next. Now paste the string you copied from Gitlab into the "URI" text field (Eclipse may paste it automatically).
The simplest approach would probably be to do the copying right in eclipse
:
Right Click your Project -> Copy Right Click in the Project Explorer -> Paste or CTRL + C & CTRL + V
Eclipse will then automatically prompt you to enter a new name for the clone. Then you'll have a full copy of your project with the new name.
The reason why eclipse
thinks that it is the same project, is because you also clone the .project
-files which contain the name of the project used in eclipse
.
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