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.

有帮助吗?

解决方案

I have used ../workspace on windows, and I would assume ./workspace will also work. I see no problem with just workspace however...

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top