Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Table of Contents

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 the genoviz project at SourceForge: http://sourceforge.net/p/genoviz/code/HEAD/tree/trunk/ext/bindex.jar
  2. Create a folder on your computer (e.g., bundles) and place all the .jar files you'd like to distribute 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:

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 bundles folder.

Using the new repository location

You can then use that path as repository location. To use it as a repository in IGB:

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

Continuing with the example, you'd enter /Users/auser/plugins. QUESTION: Is this right? YES

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? 

Yes, put everything in a web directory. Url would web accessible path to that directory.