blob: 02eace92d0aa587f0ab5835eaed767ca73bd0f8b [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 https://www.eclipse.org/legal/epl-2.0/. 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="Changing the version of a facet" />
<meta name="abstract" content="You can change the version of a facet in a Java EE project by editing the facets for the project." />
<meta name="description" content="You can change the version of a facet in a Java EE project by editing the facets for the project." />
<meta content="facets, changing versions, Java EE, changing facet versions, projects" name="DC.subject" />
<meta content="facets, changing versions, Java EE, changing facet versions, projects" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/taddingfacet.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tchangejavalevel.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/cfacets.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tchangefacet" 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>Changing the version of a facet</title>
</head>
<body id="tchangefacet"><a name="tchangefacet"><!-- --></a>
<h1 class="id_title">Changing the version of a facet</h1>
<div class="id_taskbody"><p class="id_shortdesc">You can change the version of a facet
in a Java EE project by editing the facets for the project.</p>
<div class="id_context"><p class="anchor_topictop" />
<p>Changing
the Java™ compiler
version of a Java EE project involves changing the version of the <span class="uicontrol">Java</span> facet.
For more information, see <a href="tchangejavalevel.html" title="You can change the version of Java used&#10;in a Java EE project by changing the value of the Java facet.">Changing the Java compiler version for a Java EE project</a>.</p>
<p>To
change the version of a facet in your project, complete the following steps:</p>
</div>
<ol class="id_steps">
<li class="stepexpand"><span>In the Project Explorer view of the Java EE perspective, right-click the project
and then select <span class="uicontrol">Properties</span>.</span></li>
<li class="stepexpand"><span>Select the <span class="uicontrol">Project Facets</span> page in the in
the Properties window.</span> This page lists the facets in the project
and their versions.</li>
<li class="stepexpand"><span>Click <span class="uicontrol">Modify Project</span> and click the facet
you want to change.</span></li>
<li class="stepexpand"><span>Select the version of the facet from the drop-down box next to
the facet's name.</span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span> to close the Modify Faceted
Project window and then click <span class="uicontrol">OK</span>.</span></li>
</ol>
<div class="id_postreq"><p class="anchor_topicbottom" />
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../topics/cfacets.html" title="Facets define characteristics and requirements for Java EE projects and are used as part of the runtime configuration.">Project facets</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/taddingfacet.html" title="This topic explains how to add a facet to an existing project in your workspace.">Adding a facet to a Java EE project</a></div>
<div><a href="../topics/tchangejavalevel.html" title="You can change the version of Java used in a Java EE project by changing the value of the Java facet.">Changing the Java compiler version for a Java EE project</a></div>
</div>
</div>
</body>
</html>