blob: 30975870057f807e8427e5ea0057f6f1a7b13319 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Displaying or hiding the metadata of the server" />
<meta name="abstract" content="On the workbench, you have the option to display or hide the metadata of the server." />
<meta name="description" content="On the workbench, you have the option to display or hide the metadata of the server." />
<meta content="servers, displaying metadata, hiding metadata, workbench, server metadata, serverName.server file, displaying, serverName.server file, hiding" name="DC.subject" />
<meta content="servers, displaying metadata, hiding metadata, workbench, server metadata, serverName.server file, displaying, serverName.server file, hiding" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/twmanage.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tmetasrv_wst" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Displaying or hiding the metadata of the server</title>
</head>
<body id="tmetasrv_wst"><a name="tmetasrv_wst"><!-- --></a>
<h1 class="topictitle1">Displaying or hiding the metadata of the server</h1>
<div><p>On the workbench, you have the option
to display or hide the metadata of the server.</p>
<div class="section" id="tmetasrv_wst__tmetasrv_wst_context"><a name="tmetasrv_wst__tmetasrv_wst_context"><!-- --></a><div class="p" id="tmetasrv_wst__tmetasrv_wst_p1"><a name="tmetasrv_wst__tmetasrv_wst_p1"><!-- --></a>The <em>metadata</em> contains
a variety of information about the server such as:<ul>
<li>The location where the server configuration files are stored on the workbench.</li>
<li>The fully qualified DNS name or IP address of the host machine where the
server is running.</li>
<li>The name assigned to the server.</li>
<li>The name of the installed server runtime environment which defines the
runtime environment of an application server for compiling your application.</li>
</ul>
</div>
<p id="tmetasrv_wst__tmetasrv_wst_p2"><a name="tmetasrv_wst__tmetasrv_wst_p2"><!-- --></a>By default, the workbench hides the metadata
of the server to keep the development workspace clean. Displaying the metadata
of the server on the workbench, allows you to persist the data
of the server in a <em>serverName</em>.server file, where <em>serverName</em> is
the name assigned to the server. The <em>serverName</em>.server file is useful
when you are working in a team development environment and you are required
to maintain the metadata of the server in a source control repository.</p>
To
display or hide the metadata of the server:</div>
<a name="tmetasrv_wst__tmetasrv_wst_steps"><!-- --></a><ol id="tmetasrv_wst__tmetasrv_wst_steps">
<li class="stepexpand" id="tmetasrv_wst__tmetasrv_step1"><a name="tmetasrv_wst__tmetasrv_step1"><!-- --></a><span>In the Servers view, right-click the server
you want to display or hide the metadata and select <strong>Properties</strong>.</span>
</li>
<li class="stepexpand" id="tmetasrv_wst__tmetasrv_step2"><a name="tmetasrv_wst__tmetasrv_step2"><!-- --></a><span>In the <span class="uicontrol">General</span> page
there is a <span class="uicontrol">Location</span> field, select the <span class="uicontrol">Switch
location</span> button to toggle between displaying and hiding the metadata
on the workbench.</span> <div class="tip"><span class="tiptitle">Tip:</span> If the value of the <span class="uicontrol">Location</span> field
contains <kbd class="userinput">[workspace metadata]</kbd>, this means the workbench
is hiding the metadata. To display the metadata on the workbench, select the <span class="uicontrol">Switch
location</span> button again until the <kbd class="userinput">[workspace metadata]</kbd> changes
to a file path directory. The file path directory specifies the location where
the server metadata file is stored on the workbench. The next step describes
where you can find the server metadata file in the workbench.</div>
</li>
<li class="stepexpand" id="tmetasrv_wst__tmetasrv_step3"><a name="tmetasrv_wst__tmetasrv_step3"><!-- --></a><span>In the Project Explorer view, expand the <strong>Servers</strong> folder
and then expand your server project to locate the <em>serverName</em>.server
file, where <em>serverName</em> is the name assigned to your server.</span></li>
<li class="stepexpand" id="tmetasrv_wst__tmetasrv_step4"><a name="tmetasrv_wst__tmetasrv_step4"><!-- --></a><span>(<strong>Optional</strong>) You can double-click <em>serverName</em>.server
file to edit the data in the server editor.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/twmanage.html" title="You can use the server tools views to manage servers. The following tasks may be included as part of the development path:">Managing servers</a></div>
</div>
</div>
</body>
</html>