Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Introduction

To deploy your plugin, you need to create a plugin repository. Once you have created it, you can then make the repository available for users.

Set up

  1. Download bindex.jar library from

...

  1. the genoviz project at SourceForge: http://sourceforge.net/p/genoviz/code/HEAD/tree/trunk/ext/bindex.jar

...

  1. Create a folder

...

  1. on your computer (e.g., bundles) and place all the .jar

...

  1. files you'd like to distribute

...

  1. inside the folder.

Create a repository.xml file for your bundles

Run:

Code Block

java -cp /bindex.jar -jar bindex.jar -n IGB -q -r repository.

...

xml

QUESTION: Can java -cp handle a relative path? (Do you need the leading slash?)

If your bindex.jar and bundles are both located in folder named plugins then you could type something like following:

Code Block

java -cp /Users/auser/plugins/bindex.jar -jar bindex.jar -n IGB -q -r repository.xml /Users/auser/plugins/bundles

This would create a repository.xml file in plugins folder. 4) .

QUESTION: Won't it create a repository.xml file in "bundles" not "plugins"?

Using the new repository location

You can then use that path as repository location. To use it as repository arepository in IGB, Open IGB >> Open File Menu >> Select Preferences >> Go To Repository Tab and add your path as repository. >> Close the preference window.5) Go to main IGB window, there you would see a Plugin tab at very right end:

  • Select IGB > File > Preferences > Repository
  • Enter the path to your repository

Open IGB and select the Plugin tab. If your repository was successfully added then it should show your plugin there. You can select your plugin from there and install it.

QUESTION: What do you do if you want to deploy the plugin repository on a server? Do you just put everything in some Web directories? What URL do you use?