<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML> | |
<HEAD> | |
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> | |
<title>Exporting a plug-in</title> | |
</head> | |
<BODY BGCOLOR="#ffffff"> | |
<h1>Exporting a plug-in</h1> | |
<p>During the design phase, plug-ins and fragments in your workspace are used | |
as-is so that you can quickly test and debug. Once you reach the stage where | |
you are satisfied with your code, you need to publish it in a form suitable | |
for deployment in an Eclipse product.</p> | |
<p>The easiest way to do so is through the <b>Export Plug-ins and Fragments</b> | |
Wizard. It shields you from ant scripts and does not pollute your workspace | |
with resources generated during the build operations:</p> | |
<p>Select <b>File > Export... > Deployable plug-ins and fragments</b></p> | |
<p>Select the plug-ins and fragments you want to export. </p> | |
<p>The export destination can be an archive or a directory.</p> | |
<p align="center"><img border="0" src="images/plugin-export.png" alt="Export plug-ins and fragments wizard" ></p> | |
<p align="left">The recommended format for a deployable plug-in in 3.1 to be packaged | |
as a JAR archive. Refer to the <a href="plugins_as_jars.htm">Exporting your | |
plug-in as a JAR</a> document for details if you have a pre-3.1 plug-in that | |
you need to JAR. </p> | |
<p>You also have the option to save the settings of this export operation. | |
This way you would be able to redo this export operation without having to go | |
through the wizard all over again.</p> | |
<p>Alternatively, plug-in JARs could be built manually. Refer to the | |
<a href="pde_feature_generating_ant.htm">Creating Ant Scripts from PDE</a> | |
section.</p> | |
</body> | |
</html> |