I have used ../workspace
on windows, and I would assume ./workspace
will also work. I see no problem with just workspace
however...
How to Set Eclipse Workspace to Current Directory in Windows
-
12-06-2023 - |
Вопрос
I am using Eclipse in a flash disk. I also copy my Eclipse projects in the same flash disk. I need to set my workspace as this flash disk.
My problem is, if I set my workspace to F:\workspace
(currently the letter is F
), when I use my flash disk on another computer, it may be not F:
but E:
.
Is there a global string in Windows that I can write to set the workspace as current directory?
Similar to ./workspace
in Linux.
Решение
Другие советы
No, but when you start Eclipse you can hit "Browse" and go to the directory you want to save the workspace in. The workspace is that directory until the next time you reset it.
i use ./workspace as the space. like below this is eclipse positon D:\IDE\eclipse\e3.6.2\eclipse.exe i will put workspace at this D:\IDE\eclipse\e3.6.2\workspace
when you start eclipse you can use ./workspace as the workspace postion