blob: b0850a5df364b4d3ad9a2358ca13ac78fbf3eb13 [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 2009, 2012. 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>Export and Install into the Running Host</title>
<script type="text/javaScript" language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>Export and Install into the Running Host</h1>
<p>PDE provides several tools for launching plug-ins and features in your workspace. The Eclipse Application Launcher can be used to create a second running instance of Eclipse that runs the code you have in your workspace. This is commonly referred to as <em>self-hosting</em>. Self-hosting is a powerful debugging and testing tool. However it is sometimes necessary for code to be tested in your host, your currently running Eclipse instance. To test code in the host, you need to export and install into the running Eclipse instance.</p>
<p>To export plug-ins and features and install them into the host Eclipse do the following:</p>
<ol>
<li>Develop your plug-ins and features in the workspace</li>
<li>Open the export wizard, either <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.pluginExportWizard)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Open the plug-in export wizard">
<strong>File &gt; Export... &gt; Plug-in Development &gt; Deployable plug-ins and fragments</strong>
</a> or <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.featureExportWizard)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Open the feature export wizard">
<strong>File &gt; Export... &gt; Plug-in Development &gt; Deployable features</strong>
</a></li>
<li>Select your plug-ins or features to export and install</li>
<li>Select the last option on the <em>Destination</em> tab <strong>Install into host. Repository</strong>. Then choose a directory to create the repository in</li>
<li>Hit <strong>Finish</strong>. The export operation will run followed by the installation operation.</li>
<li>If the operations completed succesfully, you will be prompted to restart. Choose to restart now</li>
<li>Your plug-ins will be installed and running after the restart. You can see what has been installed using the <strong>Installation Details</strong> button on the About Dialog (available by going to Help &gt; About Eclipse SDK)</li>
</ol>
<h3 class="related">Related references</h3>
<a href="../guide/tools/launchers/eclipse_application_launcher.htm">Eclipse Application Launcher</a><br>
<a href="../guide/tools/export_wizards/export_wizards.htm">Export Wizards</a><br>
<a href="../guide/tools/export_wizards/export_plugins.htm">Plug-in Export Wizard</a><br>
<a href="../guide/tools/export_wizards/export_features.htm">Feature Export Wizard</a>
</body>
</html>