wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
Author

working with Tomcat and Eclipse

rashid rava
Greenhorn

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
Sheriff

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.

-Ben


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

Joined: May 26, 2003
Posts: 30392
    
150

Rashid,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: working with Tomcat and Eclipse