"Servers" project in workspace [message #104810] |
Wed, 18 May 2005 01:32  |
Eclipse User |
|
|
|
Since I've been tiinkering with the WTP, I've been wondering what exactly
the "Servers" project is used for... I still don't know.
It contains a directory called "Tomcat v5.5 Server @ localhost", which in
turn contains the basic config files for tomcat. Naturally, I _assumed_
these were the files used by my server entry called "Tomcat v5.5 Server @
localhost". Looking at the launch configuration for the that server
definition though, I see either:
-Dcatalina.base="D:\Applications\Tomcat-5.5.9"
-Dcatalina.home="D:\Applications\Tomcat-5.5.9"
-Djava.endorsed.dirs="D:\Applications\Tomcat-5.5.9\common\endorsed "
or
-Dcatalina.base="C:\Documents and
Settings\cnelson\eclipse\.metadata\.plugins\org.eclipse.wst. server.core\tmp0 "
-Dcatalina.home="D:\Applications\Tomcat-5.5.9"
...depending on whether or not the "Run modules directly from the
workspace" is checked.
So, neither case seems to do anything with the files in the "Servers"
project. When are they used?
Thanks for the clarification!
Christian
|
|
|
Re: "Servers" project in workspace [message #105040 is a reply to message #104810] |
Wed, 18 May 2005 08:45  |
Eclipse User |
|
|
|
The configuration files under the Servers project are your "source"
copies. They can be modified without impacting a running server.
The "publish" operation writes the "runtime" copies that will be used by
the running server. Some tweaks may occur to these files during the
"publish" operation. For example, if your web module contains a
META-INF/context.xml, that configuration will be included in the
corresponding context in the "runtime" server.xml.
Cheers,
Larry
Christian Nelson wrote:
> Since I've been tiinkering with the WTP, I've been wondering what
> exactly the "Servers" project is used for... I still don't know.
>
> It contains a directory called "Tomcat v5.5 Server @ localhost", which
> in turn contains the basic config files for tomcat. Naturally, I
> _assumed_ these were the files used by my server entry called "Tomcat
> v5.5 Server @ localhost". Looking at the launch configuration for the
> that server definition though, I see either:
>
> -Dcatalina.base="D:\Applications\Tomcat-5.5.9"
> -Dcatalina.home="D:\Applications\Tomcat-5.5.9"
> -Djava.endorsed.dirs="D:\Applications\Tomcat-5.5.9\common\endorsed "
>
> or
> -Dcatalina.base="C:\Documents and
> Settings\cnelson\eclipse\.metadata\.plugins\org.eclipse.wst. server.core\tmp0 "
> -Dcatalina.home="D:\Applications\Tomcat-5.5.9"
> ..depending on whether or not the "Run modules directly from the
> workspace" is checked.
>
> So, neither case seems to do anything with the files in the "Servers"
> project. When are they used?
>
> Thanks for the clarification!
> Christian
>
|
|
|
Powered by
FUDForum. Page generated in 0.07342 seconds