Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[smila-dev] Upcoming changes to SMILA pipelet deployment

Hi all,

 

We’re about to change the way the pipelet tracker looks up pipelets in added bundles, so there will be some changes to the pipelet registration during the next days. The wiki documentation will be amended in a short while.

 

Quick description for those who deploy their own pipelets (after our changes will be committed to the svn):

Pipelets will no longer be defined in a SMILA-Pipelets section of the MANIFEST.MF but using json files in a SMILA-INF directory of the bundles. So if you’ve got own bundles with own pipelets defined in the MANIFEST.INF, you should just add a json file for each pipelet in a new SMILA-INF directory including the class of the pipelet.

 

Example: org.eclipse.smila.processing.pipelets/SMILA-INF/ AddValuesPipelet.json would look like (without description of pipelet/parameters):

{

      "class" : "org.eclipse.smila.processing.pipelets.AddValuesPipelet"

}

 

Don’t forget to include the SMILA-INF directory in your build.properties.

 

That’s all you have to do.

 

The reason to do this is to be able to add descriptions for pipelets and their parameters so e.g. a GUI can display help texts or assist with parameter settings which would not be possible if there was only the pipelet registration in the MANIFEST.MF file.

 

Bye

Andreas


Back to the top