Hi Glen & Juan Pablo,
the idea is to have Maven module which generates a ready2run JSPWIki
installation having native launchers - a short presentation is found
here -
http://people.apache.org/~sgoeschl/presentations/jspwiki-20100506.pdf
Regarding your concerns
* the focus is to provide a ready-to-use personal wiki with the simplest
installation requirements possible
* I'm using it either from an USB stick, installed on my laptop or on a
server for development groups
* my personal intention is NOT to keep up with every change but to
provide the distributable for official releases
* the build is very likely excluded from the regular JSPWiki M2 build
Happily I'm now in the situation to be active for JSPWiki so I will
through the new Maven build over the weekend :-)
Cheers,
Siegfried Goeschl
PS: Juan Pablo - thanks for you help integrating my patch :-)
On 20.02.14 05:23, Glen Mazza 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