File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes working with Tomcat and Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "working with Tomcat and Eclipse" Watch "working with Tomcat and Eclipse" New topic

working with Tomcat and Eclipse

rashid rava

Joined: Jun 29, 2006
Posts: 3
I don't know much about the way Tomcat can be configured. I want to know how can I configure the Tomcat so that the compiled classes coming from the Eclipse workspace are automatically directed to the Tomcat's classes folder. I have to mention that my application consists of 4 interdependent projects of Eclipse.

I use Tomcat 4.1.3 and I already integrated in the Eclipse IDE.

Thank you.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

J2EE apps have a spec defined directory structure.
For this reason, the IDE should (and I believe most do) bend to the structure of the app and container instead of Tomcat being configured to the IDE.

I'm going to move this to the IDEs forum where I think you'll have better luck. If I'm wrong about this, by all means, ask that this thread be moved back here.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

As far as i know, Eclipse doesn't support compiling to an external directory. You could use an Ant script to copy over the compiled class files whenever Eclipse compiles.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: working with Tomcat and Eclipse
It's not a secret anymore!