Creating a Package (.djar File) When Compatibility Mode is Disabled
To create a package when Compatibility Mode is disabled
1. Select the project for which you want to create a package and do any of the following:
• Go to File > New > Package.
• Click the arrow in
and then click
Package.
• Right-click within Project Explorer and then click New > Package.
The New Package (Inventory File) window is displayed.
2. Select the parent folder where you want save the package inventory file.
3. In the Enter Package Name field, type a name for the package file and click Next.
The Select Entry Point and Options window is displayed.
4. Specify the following:
• Runtime Configuration - Click Browse and specify the required runtime configuration file (.process.rtc or .map.rtc).
• Include Workspace Macro Definition File - Select this option to include the macro definition file related to the workspace. When you run a .djar that contains a macro definition file, djengine does not automatically use this file. You must specify a macro file that is outside the .djar to use a macro definition file when you run a package.
5. Click Finish.
The package inventory file is created (with extension as .inv.xml) and it opens in the Package Manager Editor tab. It displays all the artifacts that are included in the package with the following information:
• Main: The main artifact is selected by default. Select the required check box to specify another artifact as the main.
• Type: Indicates the type of artifact (map, process, macro, map configuration, and son on.)
• File: Displays the file name of the artifact that is included in the package.
• Location: Displays the location of the artifact. If the artifact is located outside the workspace or if it contains a macro, then it displays the full path. If the artifact is in the same workspace, then it displays the path relative to the workspace.
• Version: Displays the version number of the artifact.
Also, the .inv.xml file appears in the Package Inventory folder within the project folder location.
Note: The package inventory folder is created relative to where the project is located.
6. To create a package, do the following:
• Open the package inventory file (if it is closed).
• Select the check box for the process artifact that you want to designate as the main process for the package.
Note: By default, the main process for the package is already selected when creating the package inventory file.
• Package Name displays the package name. It defaults to the name of the process. You can change this name if required.
• Package Version displays the version number of the package file. The default is 1.0. You can change this version number.
• Click
if you want to add files to the package. To remove a file, select the required file and click
.
7. Click Create Package.
The Package Creation Success dialog box displays a confirmation message and the folder where the .djar file is stored.