Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<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/"></script>
<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>
<li>Open the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(")'> <img src="PLUGINS_ROOT/" 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>.
    <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>
<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>

<p><img src="../images/ngrelr.png" alt="Related reference" border="0"></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>
New to GrepCode? Check out our FAQ X