I2P Address: [http://i2pgit.org]

Skip to content

Bundle more config files and resources into the jpackaged I2P

idk requested to merge idk/i2p-jpackage:master into master

This adds a set of default configuration files and the webapps/*.war files to the example jpackage, making it possible to run an I2P Router Console using the Jpackaged I2P application. It seems to run a router console and applications successfully when files are bundled in this way. It also makes it possible to use the PackageLauncher on Linux and to build the Jpackaged I2P routers on Linux, which makes them a little quicker and easier to test for me. I also may want to use this as the basis for my Snap package in the near future, which would require Linux support in the PackageLauncher.

With this patch it appears to be usable. I am not sure that every single resource in the application that needs to be is bundled yet though, I seem to remember that there being one or two exceptions to resources being moved into the .wars and those I may have missed. Also so far all I did was comment out: if (!(SystemVersion.isWindows() || SystemVersion.isMac())) { etc, but I'm not sure if it would make sense to make sure that we're running on Windows, Mac, or Linux but not BSD or Solaris or whatever else.

Edited by idk

Merge request reports