I am working with a Tomcat 7 server using the CATALINA_HOME
/CATALINA_BASE
configuration. According with this configuration, a Tomcat server can be start with commands $CATALINA_BASE/bin/catalina.sh start
or $CATALINA_BASE/bin/catalina.sh run
, depending on your interest.
This approach allows some very interesting pros: the CATALINA_BASE folder can be versioned, while if you want to change the Tomcat version can be easily done changing the CATALINA_HOME folder.
The problem occurs trying to configure a Tomcat server on Eclipse, without modifying any server (CATALINA_BASE) files: in practice the Tomcat server is integrated in Eclipse and I haven't found a configuration in order to call the $CATALINA_BASE/bin/catalina.sh start
script in order to completely exploit the power of the BASE/HOME config.
I am sure that can be done within IntelliJ IDEA and NetBeans, but, of course, I don't want to use these IDEs.
Do someone of you had a similar problem/request?