|Copying a project in same workspace [message #653492]
||Wed, 09 February 2011 23:12
| Frode Nilsen
Registered: February 2011
Hi I'm relatively green on Eclipse, but I just wasted an hour on something I'd expect to be trivial, so I venture here before I waste anymore hours.|
I want to make a copy of an Android project I'm working on so that I can work on the copy in parallell with the old. I did a copy-paste in the file system of the project folder and edited the copy of the .project file so that the project names differ. Then I used the File > Import to add the copied project to the existing workspace.
This failed. Now, none of the projects would compile because the compiler somehow tried to add files from Android.jar twice. This is a conclusion I draw based on the error message I got and what this post says about it. To fix the problem, I had to delete the copy of the project and the reference to the project deep down in the .metadata folder. It took a lot of Googling.
Now... How do I do it the proper way? How do I copy-paste a project without duplicating external references or whatever I did? How can this even happen, doesn't Eclipse treat two projects as two separate entites? How can references in one project affect the other?
Thanks for any input.
[Updated on: Wed, 09 February 2011 23:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01735 seconds