I have a Windows machine at work and a MAC at home. I recently purchased a portable drive to carry to and from work, so I could put the myEclipse workspace on it, and essentially be able to work on the same environment at work and at home. Everything works fine except for the Tomcat server.
The Tomcat 5.x server connector was configured for Tomcat at work on a windows machine with settings for Tomcat directories in the form of “C:\apache-tomcat-5.5.26”
Of course when I’m at home this path is NOT valid on my MAC. I would like to be able to launch different servers in the workspace to debug depending on whether I’m at home on the MAC or at work on the PC.
So, here’s my question. Does anyone know of a way I can set up two distinct Tomcat Servers in this workspace (only one will run at a time), one for work on the PC and one for the MAC at home? OR, is there a way for me to set a single Tomcat server configuration on the portable drive that will work when it’s connected to the PC and when it’s connected to the MAC? OR is there another better idea to solve my problem?
Perhaps this is a stupid question, but any help would be appreciate. Thanks.