Building the Insight Pack Eclipse project

Building an Insight Pack for an edited Eclipse project.

About this task

After you edit the contents of an Insight Pack Eclipse project, you must rebuild the Insight Pack.

Procedure

To build an Insight Pack for a modified project:

  1. From the menu bar, choose Window -> Show View -> Other -> General -> Console to turn on the Eclipse console before you build the package.
  2. To open the Project Explorer, click Windows > >Show View > Project Explorer.
  3. Select the Insight Pack project you want to build, using one of these methods.
    • Click the project name in Eclipse Project Explorer and click Build Insight Pack on the toolbar.
    • Right-click a project name in Eclipse Project Explorer and select Build Insight Pack from the menu that appears.

Results

Eclipse creates an Insight Pack archive (zip file) for the project.
If the build is successful, the Eclipse Console displays a message, such as:
Insight Pack build is successful.
C:\ayu\projects\mycontentpackproject\dist\mycontentpackproject_v1.0.0.0.zip
If the build is not successful, Eclipse Console displays error messages such as:
the *.json files in metadata folder are  not in well format or have syntax errors.

What to do next

After you create the package, copy the Insight Pack archive to a directory on your system. Install the archive as described in Installing an Insight Pack.