blob: d61b38f1541c68993589bbb5eba10f679066b575 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2008, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../guide/book.css" type="text/css">
<title>Setting up an API baseline</title>
<script type="text/javaScript" language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>Setting up an API baseline</h1>
<p>Once your plug-in is converted to use API Tools, you need to set up a baseline in order to get the
compatibility analysis performed for your plug-in.</p>
<p>To create an API baseline do the following:</p>
<ol>
<li>Open the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.pde.api.tools.ui.apiprofiles.prefpage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the API Baselines preference page"> <b>Plug-in Development &gt; API Baselines</b></a> preference page.</li>
<li>Select the <strong>Add Baseline...</strong> button to open the <a href="../reference/api-tooling/wizards/ref-api-baseline-wizard.htm"><strong>API baseline wizard</strong></a>.
<ul>
<li>Give a meaningful name for your baseline</li>
<li>Click <b>Browse...</b> and select the root folder of the Eclipse SDK you want to choose as your baseline</li>
<li>Click <b>OK</b> in the folder dialog</li>
<li>Once the baseline is initialized, click <b>Finish</b></li>
</ul>
</li>
<li>Click <b>OK</b> and you are all set. If your workspace contains some existing projects, you will be prompted for
a rebuild.</li>
</ol>
<br>
<p><img src="../images/ngrelr.png" alt="Related reference" border="0"></p>
<p>
<a href="../reference/api-tooling/preferences/ref-baselines.htm">API Baselines Preferences</a><br>
<a href="../reference/api-tooling/wizards/ref-api-baseline-wizard.htm">API Baseline Wizard</a><br>
<a href="../reference/api-tooling/quickfixes/ref-api-missing-baseline-qf.htm">Missing API Baseline Quick Fix</a>
</p>
</body>
</html>