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

Reply via email to