Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse workspace location - best practice [closed]

I check out a java project to a folder. Someone told me that I shouldn't point the eclipse workspace to this directory. Is there a best practice for this? Should you use the svn checkout dir or a dedicated one? And why? Thanks!

like image 583
vo1d Avatar asked Jul 01 '13 10:07

vo1d


2 Answers

The reason why you shouldn't point your workspace to your existing files is because you want to keep the actual source files separated from your workspace settings.

The workspace that you're using has nothing to do with the code that you're writing so it's generally advised to keep them separated.

like image 148
JREN Avatar answered Sep 27 '22 18:09

JREN


You shouldn't point the workspace directly to the directory of the checked out code. Say you have your workspace located at C:\workspace, then I would check out the project in C:\workspace\project.

On the other hand, it doesn't really make a difference of you would check out your code to another location, say C:\projects. Anyway, I don't see any bad practice with either way to do it.

like image 31
Magnilex Avatar answered Sep 27 '22 16:09

Magnilex