Re: [freenet-dev] New UPnP2 plugin

2015-12-25 Thread Ian
This looks great!

I notice a lot of System.out.println()s in the code, do we not have a
logging mechanism in Fred available for use by plugins?

On Fri, Dec 25, 2015 at 10:14 AM, Xiaoyu Huang <007...@gmail.com> wrote:

> Hi All,
>
> As nextgens suggests, I write this plugin which is based on the newer and
> more stable UPnP lib named Cling (http://4thline.org/projects/cling/).
>
> Currently It only supports FredPluginIPDetector and FredPluginPortForward.
> I will add FredPluginBandwidthIndicator and Web UI support when I have
> time.
>
> Code review, suggestions and tests are required. The source code can be
> accessed here:
>
> https://github.com/007pig/plugin-UPnP2
>
> I uses Gradle as the build system. So to build the plugin and package it as
> plugin jar, you need:
>
>1. Copy freenet.jar, freenet-ext.jar and bcprov-jdk15on-152.jar to
>"[project root]/libs" dir.
>2. Run "./gradlew build shadowjar".
>3. After build, you can find the plugin in "[project root]/build/libs"
>with file name "plugin-UPnP2-1.0-SNAPSHOT-all.jar".
>
> Thanks,
> Xiaoyu
> ___
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

[freenet-dev] New UPnP2 plugin

2015-12-25 Thread Xiaoyu Huang
Hi All,

As nextgens suggests, I write this plugin which is based on the newer and
more stable UPnP lib named Cling (http://4thline.org/projects/cling/).

Currently It only supports FredPluginIPDetector and FredPluginPortForward.
I will add FredPluginBandwidthIndicator and Web UI support when I have time.

Code review, suggestions and tests are required. The source code can be
accessed here:

https://github.com/007pig/plugin-UPnP2

I uses Gradle as the build system. So to build the plugin and package it as
plugin jar, you need:

   1. Copy freenet.jar, freenet-ext.jar and bcprov-jdk15on-152.jar to
   "[project root]/libs" dir.
   2. Run "./gradlew build shadowjar".
   3. After build, you can find the plugin in "[project root]/build/libs"
   with file name "plugin-UPnP2-1.0-SNAPSHOT-all.jar".

Thanks,
Xiaoyu
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl