Introduce 1.1 Extension Developers Guide
| |
|
|
| |
Table of Contents |
|
| |
|
|
Creating an Update Site
Providing an update site is one way to enable Introduce users to obtain your extensions or modified versions of Introduce. An update site is simply an address that points to a web folder which contains a software.xml file adhering to the schema
. The software.xml file describes the packages available at the particular update site and the release zip which contains those packages.
<ns1:Software
xmlns:ns1="gme://gov.nih.nci.cagrid.introduce/1/Software">
<ns1:Introduce version="1.0" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/introduce_1-0.zip" />
<ns1:Introduce version="1.1" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/introduce_1-1.zip" />
<ns1:Extension version="1.1" compatibleIntroduceVersions="1.1" displayName="caGrid Data Service Extension" name="data" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/data.zip"/>
<ns1:Extension version="1.1" compatibleIntroduceVersions="1.1" displayName="caGrid Bulk Data Transfer" name="bdt" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/bdt.zip"/>
<ns1:Extension version="1.1" compatibleIntroduceVersions="1.0,1.1" displayName="caGrid Extensions Package" name="cabigextensions" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/cabigextensions.zip"/>
<ns1:Extension version="1.1" compatibleIntroduceVersions="1.0,1.1" displayName="caGrid Cancer Data Standards Repository" name="cadsr" zipFileURL="http://bmi.osu.edu/~hastings/introduce/software/cadsr.zip"/>
</ns1:Software>
Writing an Extension
Bundling an Extension
In order to bundle up an extension so that it can be deployed to introduce the extension directory structure must be laid out in the following way:
- <top of zip file>
- lib (any jars required to "execute" your extension
- <your extension name (not display name)>
- extension.xml (the extension.xml describing your extension)
Once this layout is complete, the next step is to create the extension zip file. In order to do this, all that is required is to create a zip file with no top level directory and the lib dir and <your extension name> dir as the only directories in the zip. So for instance, if the zip file were extracted there would be the two directories with no top level directory. Now that you have bundled up your extension so that it can be delivered and used by Introduce.






