In this section, you will be learning how to create an external library to be integrated to the MTJ MIDlet Wizard.
The external library creation process is composed of the following tasks:
The external library folder structure could follow the format bellow inside the plugin's project root:
Fill in the branding fields. For this example we are using the "Lightweight User Interface Toolkit" library version 1.1.
You MUST specify the path to the library's jar within the plug-in you are creating.
The javadoc path is optional and can be either a folder inside the plug-in or an URL. The library's source code path its also optional but if defined, it must be a folder inside the plug-in.
Access rules may also be created for the classpath entry.
Define the license under which this library was released. You MUST provide the license name and an URL where the user can find the text of that license.
After the installation of the plug-in in the workbench, the new external library will be available to the user in the "New MIDlet Project" Wizard.
In case the user select it in the New Java ME Project Wizard, the library jar will be automatically included in the project's classpath.