OK, sounds good.
Glen
On 02/20/2014 03:16 AM, Juan Pablo Santos Rodríguez wrote:
Hi Glen,
essentially, is JSPWiki on a stick ([#1], [#2]) into trunk. It's a
self-contained, os-dependent binary. No need to deploy the war anywhere, to
have a servlet container or to install anything, just grab the executable
file, double-click and you have a running JSPWiki instance. Intended for
personal use [#3], most probably you'll have it on a usb stick, so you
don't have to bother to deploy/install in every machine you want to use it.
As for manteinance, it should be real low, the executable is built by
tomcat7 maven plugin + launch4j build script, which are already configured.
As for upgrading tomcat, it's doable via including a bunch of dependencies
on tomcat7 maven plugin, but most probably not worth doing, as it'll
clutter the module's pom.xml file, which is big enough right now, with very
little benefits (tomcat security & patches not a priority in this case).
Other than that, I don't see too much manteinance for that module.
br,
juan pablo
[#1] https://github.com/sgoeschl/jspwiki-on-a-stick
[#2]
http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-user/200810.mbox/%3c48efb9b8.4050...@it20one.at%3E
[#3] http://people.apache.org/~sgoeschl/presentations/jspwiki-20100506.pdf
On Thu, Feb 20, 2014 at 5:23 AM, Glen Mazza <glen.ma...@gmail.com> wrote:
Hi JP, what do you mean by "portable JSPWiki binaries for several
OS/platforms"? JSPWiki, being Java, is already portable. I hope it is not
your intention to start distributing application servers such as Tomcat, we
are not in a position to be securing application servers on everybody's
machines nor can we responsibly distribute Tomcat instances--that's not our
job--that's the job of the person choosing to host JSPWiki, and if he is
not smart enough to be able to securely deploy Tomcat (and keep it
maintained with all the necessary patches and PKI infrastructure, etc.) or
to get professional hosting then he has no business deploying JSPWiki.
What you're describing below seems like a *lot* of maintenance, trying to
keep everything constantly in sync with the latest patches as the months go
on--this team is probably not large enough to be able to support completely
what you're envisioning, and we enjoy coding web apps, not maintaining web
servers. Try to come up with something more modest and reasonable that a
small team can support over a many-month period--the energy burst you're
having now may not be around six months from now, or may be diverted to
other things. Then again, maybe I'm overconcerned here--I'm not fully
understanding what you're envisioning.
Regards,
Glen
On 02/19/2014 07:15 PM, Juan Pablo Santos Rodríguez wrote:
Hi,
I've just committed a new module, meant to generate portable JSPWiki
binaries for several OS/platforms. It isn't integrated into main build
yet,
as this is only a first step and there are still things to do. Some
module-related notes (also reachable at
https://jspwiki-wiki.apache.org/Wiki.jsp?page=PortableBinaries):
* based on Siegfried Goeschl's JSPWiki On A Stick [#1]
* not integrated yet into main build, as there is still room for
improvement
** just go into jspwiki-portable, run mvn clean install and check inside
target folder
* almost all application files get generated inside ./wiki-files
* right now, only windows portable binaries, although should be easily
extendable to other platforms
** need help here to develop required custom scripting for other OS
(should
be easy) and specially for testing outside Windows/Cygwin
*** f.e. JSPWiki On A Stick has some env-specific folders, which seem not
to be used (i.e. [#2], @Siegfried: what are those files and for what are
they used for?)
* almost sure launch4j configuration can be improved:
** tomcat extracts the app into a .extract folder. This can be customized,
by passing "-extractDirectory ./wiki-files/" to the jar execution (at
least
according to [#3])
** multiwiki support? we can use a custom tomcat's server.xml file (help
here!)
** how to load/deploy an initial page repo?
** upgrade bundled tomcat to latest? (example at [#3], seems a little
overkill)
* launch4j expects a certain directory structure, which renders the maven
plugin unusable. Hence the use of a custom Ant script
** see woas:app target on build.xml and maven-dependency-plugin usage on
pom.xml
br,
juan pablo
[#1] https://github.com/sgoeschl/jspwiki-on-a-stick/
[#2]
https://github.com/sgoeschl/jspwiki-on-a-stick/tree/
master/extensions/woas/resources/macos
[#3]
http://nurkiewicz.blogspot.com.es/2012/11/standalone-web-
application-with.html