|
Re: What is "Location" field in Server Properties [message #209374 is a reply to message #209326] |
Mon, 03 March 2008 15:37 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
David Karr wrote:
> When viewing the "Properties" dialog for a Server, the "Info" section
> has a "Location" field, with values "[workspace metadata]" or
> "/Servers/Tomcat v6.0 Server at localhost.server", switchable by the
> "Switch Location" button next to the field.
>
> What exactly does this field and its values signify, and what would be
> the point of setting it to either of those particular values?
>
The Tomcat server configuration is edited by the server editor[1] and
the configuration settings stored in XML. Normally, this XML is written
to the ".metadata\.plugins\org.eclipse.wst.server.core\servers.xml" file
under your workspace directory. This corresponds to the "[workspace
metadata]" selection. If you switch the location, this XML will be
removed from the "servers.xml" file and written to a file directly under
the "Servers" project in your workspace based on the name of the server,
i.e. "Tomcat v6.0 Server at localhost.server" in your case. It becomes
more visible there and easier to tweak, if desired. In early versions
of WTP, there were some tweaks that were useful which couldn't be
accomplished with any UI. I don't think this feature is as useful as it
was back then due to improvements in the UI. It has been a while, so I
don't remember what those tweaks were.
Cheers,
Larry
[1]
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_modify_the_T omcat_server.27s_configuration.3F
|
|
|
Powered by
FUDForum. Page generated in 0.02712 seconds