[brailleblaster] Start up scripts for BrailleBlaster, two solutions using maven

  • From: Michael Whapples <mwhapples@xxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Sat, 07 Aug 2010 15:53:31 +0100

Hello,
I said in a previous message that the proposed way of starting BrailleBlaster java code was just complicated and that I thought much better and simpler solutions existed which would fit in with using maven as a build system. I have now done a quick look and here are two options.

1. Use the built in maven assembly plugin: This possibly is the most flexible option as the assembly plugin is really a general plugin for allowing you to assemble archive files from maven projects and create custom descriptors. For this I think we would need to provide the start up scripts (shell script for unix and batch file for windows) and then just get the assembly plugin to copy these into the correct location. 2. The AppAssembler plugin from codehaus http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/: This plugin seems to be more targeted at creating application bundles which is what we are looking at here. It has a mechanism for it to generate these start up scripts for us, however it may be limiting should we want to do something very advanced.

At the moment I have no strong view for one of these options over the other, but these both are better than having to write custom C code to use JNI, just to start the JVM in a particular class.

Michael Whapples

Other related posts: