blob: d50a48b15895fb9260c82a2788dd0af86a19659f [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<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>Converting projects into PDE projects</title>
</head>
<BODY BGCOLOR="#ffffff">
<h1>Converting existing Java projects into PDE projects</h1>
<p>A PDE project is a project that &quot;knows&quot; that it hosts a plug-in
and is eligible for plug-in-specific operations. Although the very presence of a
manifest file is enough to use many PDE features, there is a slant towards Java
plug-in projects because most of the plug-ins are written in Java. One of the
most useful feature set in PDE revolves around computing and managing Java class
path for plug-ins and fragments under development.</p>
<p>PDE is fully capable of working plug-ins in the workspace represented as
ordinary Java projects. However, it is cannot offer incremental file checking,
capability-based filtering and other similar features if a Java project does not
have a full PDE capability.</p>
<p>It is
possible to convert a regular Java project into a PDE project at any point. For
example, you may have some Java classes that you want to package into a library
and share with others as a plug-in. Alternatively, you may want to get full
support for manifest syntax checking and reporting that only PDE projects have.</p>
<p>To convert Java into PDE projects, select <b>File&gt;New&gt;Other...</b> and
choose &quot;Plug-in Development&quot; category in the wizard. After
selecting&nbsp; &quot;Convert Java to Plug-in Projects&quot; wizard and pressing
<b>Next</b>, the following wizard will appear:</p>
<p align="center">
<img border="0" src="images/convert-java.gif" alt="&quot;Convert Java Projects&quot; wizard" width="500" height="500"></p>
<p>The wizard will list all Java projects that do not have PDE capability.
Candidate projects do not need to have manifest files. If they are missing, PDE
will create generic ones you can use as a starting point. Files that already
exist will be left intact. As an option, you can re-compute the build path in
the process. If your project has a classpath you want preserved, deselect this
checkbox.</p>
<p>&nbsp;<br>
<a href="../hglegal2003.htm">
<img src = "../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"></a>
</p>
</body>
</html>