- This topic has 3 replies, 2 voices, and was last updated 16 years, 4 months ago by
support-joy.
-
AuthorPosts
-
scsherwoodMemberI 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.
February 12, 2009 at 1:25 am #294725
support-joyMemberscsherwood,
You can setup multiple server connector configurations. Refer to http://www.myeclipseide.com/documentation/quickstarts/appservers/
and
http://www.myeclipseide.com/module-htmlpages-display-pid-55.htmlHave you used pulse? Pulse lets you create profiles. You create your profile once and you can use this anywhere. That way you need not use a portable drive to carry your work from home to office and back. You can login to pulse where ever you are and work on your profiles. Check out the webinars at http://www.poweredbypulse.com/.
February 12, 2009 at 3:10 pm #294762
scsherwoodMemberOkay, I’d like to setup two server connectors for Tomcat 5.x. Only one will be run at a time. One would point to paths on a PC and one would point to paths on a MAC. I suppose I can do that by setting up Tomcat 6.x for 5.x on the PC. I was just wondering if there is a way to rename these server connectors.
February 12, 2009 at 11:38 pm #294773
support-joyMember@scsherwood wrote:
Okay, I’d like to setup two server connectors for Tomcat 5.x. Only one will be run at a time. One would point to paths on a PC and one would point to paths on a MAC. I suppose I can do that by setting up Tomcat 6.x for 5.x on the PC. I was just wondering if there is a way to rename these server connectors.
You cannot rename server connectors. That said, you can change the tomcat home directory it is pointing to. If you are using ME 7.0, it ships with MyEclipse Tomcat. Why don’t you use Tomcat 5.0 for office and configure its path accordingly and use MyEclipse Tomcat at home?
You can create 2 project deployments one using Tomcat 5.0 and one using MyEclipse Tomcat.
-
AuthorPosts