Skip to content

Development

Philipp edited this page Jul 9, 2022 · 4 revisions

Eclipse 2022-03 (4.23.0) IDE and Java JDK 11 is used for developing the plug-in.

Importing the project

The project can be imported into Eclipse by downloading a ZIP file of the GitHub repository and extracting the content in a local folder. Within Eclipse go to FileImport and select Projects from Folder or Archive from General. After clicking Next, select the folder with the extracted project as an Import Source and the folder containing the project should automatically be detected. Click Finish to start the import process.

Build Instructions

Export as JAR

Make sure that any changes are saved, right-click on the project directory kganalysis and click on Export.

In the new window go to Plug-in Development, select Deployable plug-ins and fragments and click on Next. On the next page, make sure the kganalysis package is selected, choose a directory where the plug-in will exported and click on Finish. Once the export process is finished, a .jar file becomes available in the chosen directory.

Copy Plug-in to Archi

For the plug-in to be available in Archi, we copy the exported JAR file into the dropins folder of the application. The folder is commonly created in the following path:

  • Linux: ~/.archi4/dropins
  • MacOS: ~/Library/Application Support/Archi4/dropins
  • Windows: ~/AppData/Roaming/Archi4/dropins

After a restart of Archi the Knowledge Graph menu should become available in the menu-bar, indicating the plug-in has been successfully activated.

Clone this wiki locally