• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

working with Tomcat and Eclipse

 
rashid rava
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic