I use wrapper in several projects, and each project on several platforms
- and I find myself repeating the same setups every time. So, I'm
looking to write a maven plugin to package my applications with
wrapper. My first question is, does anybody know if this has already
been done? I've looked around and can't seem to find anything, but
thought I would ask just the same.
If not, I was wondering if anybody has any suggestions or thoughts on
this subject?
I think my final artifact will be a zip file that can simply be
unzipped, and an install script run...or a tar/gzip package for non-win32...
My plan is to use a velocity template and some basic configuration
parameters to allow for a range of "standard" type configurations - of
course with the option of overriding any of the options available in the
wrapper config file. I would like to be able to generate multiple
distributions for different platforms from relatively the same
configurations...
for instance, i have one application that needs to be deployed to win32,
linux, and aix servers - all of the java related configuration is the
same, but some things like log file location, etc will need to be
different...
Anybody have any opinions on any of this?
Also, I wanted to question one other thing here - in looking at trying
to duplicate these efforts for any platform, I noticed that the
wrapper.jar file included with the distributions appears to be very
different - for instance, it appears that it was compiled by
1.4.2_03-b02 for the win32 distribution and 1.4.1_02-b06 for the linux
distribution - and then IBM's 1.3.1 for the aix distribution....so, is
this simply because this is what was available, or are there reasons
that I would not be able to use the same jar file in all of my artifacts?
Any comments or suggestions would be greatly appreciated...
thanks
|