If you are like me, then you probably have multiple installations of Eclipse installed on your computer. For example, I have one install for all of my JEE development, and another for my RCP development. One of the hardest things that I have found is distinguishing between which instance I am currently running.
Recently, I learned about the Running Eclipse startup option called "showlocation". By leveraging this startup option, you will always know which version of eclipse you are running because it will show you your workspace in the Eclipse title bar. Even better, if you are using at least Eclipse 3.2 - which was last year's Callisto's release, you can pass a String to describe the instance that you are currently running, and that will be shown in the Eclipse Title bar instead of the workspace.
Here is how I have my shortcuts currently configured:
JEE version
C:\myPrograms\Eclipse\eclipse-jee-europa-win32\eclipse\eclipse.exe -showlocation JEE -refresh -vmargs -Xms256M -Xmx256M
RCP version
C:\myPrograms\Eclipse\eclipse-rcp-europa-fall2-win32\eclipse\eclipse.exe -showlocation RCP -refresh -vmargs -Xms256M -Xmx256M
Share and enjoy...
3 comments:
Thanks a lot, it helped me!
I cannot for the life of me understand why this is not the default behavior! You can also add this to your eclipse.ini file directly. Thanks it has been bugging me for the last 6 months. only did a search for it today :-)
Did know about the showlocationb argument, bit not about passing a String to it !
Thx ! I do use mostly worksets btw
Post a Comment