• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Eclipse plug-in for Tomcat

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running:

Eclipse 3.1
Tomcat 5.5.9
MySql 4.1

I've downloaded the eclipse plug-in for Tomcat (tomcatPluginV31beta.zip) from http://www.sysdeo.com/eclipse/tomcatplugin. I've installed it, and so far it's working pretty well, but I have a few questions.

As I understand it, this plug-in allows me to use my workspaces in eclipse to perform automated deployment to the Tomcat server. I did this so that I would not have to export the webapp as a WAR and install it in the server every time I made a code change. But how specifically does it work?

Here are my assumptions (correct me if I'm wrong):
<CATALINA_HOME>/webapps - contains apps that are currently installed
<CATALINA_HOME>/work/Catalina/localhost contains running/installed webapps

So does the plug-in then make the following substitutions?
workspace/<proj> - <CATALINA_HOME>/webapps/<proj>
workspace/<proj>/work - <CATALINA_HOME>/work/Catalina/localhost/<proj>

Also, there is the <CATALINA_HOME>/conf/Catalina/localhost directory to contend with. Normally, I would include a file called <proj>.xml in there, which configures the <proj> application. I've heard about a file in the eclipse workspace - META-INf/context.xml. Does the plug-in take this context.xml file, move it to the conf directory, and rename it <proj>.xml?

Thanks in advance,
-joe
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic