Setting the dependency in the manifest

You can set the dependency in the manifest.

About this task

To edit the plug-in manifest, do the following steps:

Procedure

  1. Open the plug-in’s manifest by double-clicking com.samples.functions.dateformat > META-INF > MANIFEST.MF.
  2. The file is opened in an editor with a number of tabs along the bottom.
  3. Select the Dependencies tab and click Add next to Imported Packages.

    The Package Selection dialog displays all available packages that the plug-in can access.

  4. Select com.ghc.ghTester.expressions and click OK to add the package to the list.
    Note: You can use wildcards to find the package more easily. For example,*expressions filters the required package to the top of the list.
  5. Save the manifest when finished.
    Note: Failing to save MANIFEST.MF will cause the next steps in the process to fail.
Feedback