| <!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>Source pages</title> | |
| </head> | |
| <BODY BGCOLOR="#ffffff"> | |
| <h2>Source pages</h2> | |
| <p align="left">The plug-in editor manages all three plug-in files at the same | |
| time. </p> | |
| <p align="left">The manifest.mf file is where all the plug-in data and dependencies | |
| is stored.</p> | |
| <p align="center"><img src="images/manifest-source.PNG" alt="manifest.mf source page"></p> | |
| <p align="left">The plugin.xml file contains the extensions and extension points | |
| declared the plug-in.</p> | |
| <p align="center"> <img border="0" src="images/plugin-source.png" alt="plugin.xml source page" ></p> | |
| <p align="left">The build.properties file contains all the information necessary | |
| to build the plug-in.</p> | |
| <p align="center"><img src="images/build-source.PNG" alt="Build source page"> | |
| </p> | |
| <p align="left">PDE validates the manifest.mf and plugin.xml for semantic errors | |
| and flags violations. The list problems that PDE flags are listed on the <b> | |
| Plug-ins</b> tab of the <b>Plug-in Development > Compilers</b> preference | |
| page:</p> | |
| <p align="center"> <img border="0" src="images/manifest-validate.png" align="center" alt="Plug-in Development compiler preferences" ></p> | |
| <p align="left">You can set the level of each to one of <i>Error</i>, <i>Warning</i> or | |
| <i>Ignore</i>.</p> | |
| <p align="left">Note that for PDE to be able to detect some of these problems | |
| (e.g. required attributes not defined, undefined extension attributes, etc.), | |
| extension points you are using must have a valid schema associated with them. | |
| See <a href="pde_schema.htm">Extension Point Schema</a> for more details.</p> | |
| </body> | |
| </html> |