Page 1 of 1

Instructions for testing plugins in plugins-readme.txt

PostPosted: Sat May 05, 2012 8:35 pm
by wae3iejohhohZae5
Plugins usually carry a "static void main(args)" method that is used for testing whether the plugin/feed is working correctly.

It would be useful if plugins/plugins-readme.txt would carry instructions about how to run those methods for testing.

Re: Instructions for testing plugins in plugins-readme.txt

PostPosted: Sat May 05, 2012 9:10 pm
by wae3iejohhohZae5
I had to use this to make it work
  Code:
for x in lib/*.jar; do libpath=$x:$libpath; done; groovy -cp $libpath plugins/LiveFeeds.groovy

This is bash on Ubuntu 12.04 with the groovy package installed.

Re: Instructions for testing plugins in plugins-readme.txt

PostPosted: Sat May 05, 2012 9:53 pm
by jhb50
You will find the instructions in the wiki http://wiki.serviio.org/doku.php?id=servio_plugins

Re: Instructions for testing plugins in plugins-readme.txt

PostPosted: Sat May 05, 2012 10:33 pm
by wae3iejohhohZae5
jhb50 wrote:You will find the instructions in the wiki http://wiki.serviio.org/doku.php?id=servio_plugins

Thanks. Maybe a link to this page should be added to the readme file.

Re: Instructions for testing plugins in plugins-readme.txt

PostPosted: Sun May 06, 2012 10:29 am
by zip
will add it, thanks