JinnIde - Jinni Prolog Project Management

JinnIde is the Jinni Prolog IDE Plugin for JEdit. From the Cassandra release onwards, Jinni Prolog code development is organized into projects - which has turned out to be very practical and is thus more or less common practice in modern IDEs. The following explains

All these features are directly accessible either by shortcut (user configured), from the templates viewer or by selecting a respective menu item from the JinnIde or Templates menu which you find underneath JEdit's Plugins menu.

How to create a project

Creating a Jinni Prolog project is simple - it's all done within the confines of a GUI:

  1. Open up the template viewer or pull down the Templates menu and click on Create project
  2. The GUI is displayed:
  3. The dialogue is simple and straightforward - you only type in the name of the project and the packages supposed to be below the project. Press return at the end of each package name you type so that it is listed in the list view below the package name text field. JinnIde uses a static project directory structure allowing the developer to organize her/his code into
  1. By providing a project name and (at least) a package name in the corresponding text fields and pressing OK is all you need to create a project. What does JinnIde do for you?

Note that when you want to delete the project, this is so simple that it's easiest to do in a file explorer - either from within JEdit or using the operating system's own means. That's why JinnIde does not currently provide a project deletion means. You only need to delete the link in JEdit's startup directory Jinni Prolog initialization file and the directory with the name of the project - that's all! The deleted project's classpaths only remain throughout the running session where the initializations took place, which does not hurt because there is not anything supposed to be there.

How to create a package

Creating a Jinni Prolog package is simple as well - again, it's all done with a GUI:

  1. Open up the template viewer or pull down the Templates menu and click on Create package
  2. The GUI is displayed:
  3. Type in the name of an existing project and the package supposed to be added to the project. Press OK and JinnIde does all the rest for you: it creates the package initialization file that set the classpaths required for classes and modules, it adds a link to the corresponding project initialization file,it creates the package directory structure and, finally, it executes the initialization file to have the new classpaths available in the running session

How to work with the project viewer

The project viewer works as known for other project types, so please take a look at its documentation. The following focuses on outlining JinnIde's special extensions that equip it with additional, JinnIde-specific functionality. Each JinnIde function that makes sense for the project viewer's right-click menu is also delivered in a compatible version. To edit the project viewer's right-click menu, go to the plugins menu and select plugin options to locate the project viewer option menu which looks like that when all of JinnIde's project viewer compatible functionality is activated there:

Note that, although there seems to be more JinnIde functionality when adding an item with '+', the other functions are not devised for the project viewer. To recognize which item is compatible with the project viewer the prefix 'Jinni Prolog' has been used as short denotation. Although 'Jinni Prolog Project Viewer' would have been a more explicit prefix, it has been avoided because these labels also directly appear in the right-click menu:

JinnIde's project viewer menu items offer the following functionality:

© 2001-2014 Chico Töpfer