I am developing on an Ubuntu 8.04 machine using Eclipse Ganymede. I installed Tomcat 5.5 using sudo apt-get install tomcat5.5 tomcat5.5-adminand using an Ant script, I deploy my WAR file by copying it to $CATALINA_HOME/webapps.
Then I created an Eclipse project, and I brought the compiled source to a similar, but separate directory structure in $PROJECT_ROOT/target/. I am still deploying the WAR file by right-clicking on it build.xmland selecting my task deploy-war.
Since Tomcat works like a deamon, it starts automatically at boot, I do not instruct it when to start or exit.
My problems with this setting:
- Using this approach, I do not get any output to the Eclipse console, since Tomcat is a user
tomcat55, and I have a different login and no access to Stdout tomcat55. - The logging that is taking place is also aimed at the
Stdoutmoment, which I find quite enjoyable during development. But it is not nice when I do not see it. :-) - I have no servers under the tab
Serverand no Run configurations. This makes it impossible to use Debug modeEclipse, which is otherwise quite convenient.
What do you think I should do to integrate them and, in turn, make my development environment a lot better?
user14070
source
share