Results 1 to 4 of 4

Thread: Packaging a SpringRoo app for command line use

  1. #1

    Default Packaging a SpringRoo app for command line use

    I am writing a simple command line app. It is springroo based, but not actually a web app. I'm getting a bit confused as to how I should package it up for delivery to someone else.

    Currently I can run it in Eclipse- but it is referencing a bunch of jar files in my Maven repository. I can't really create a war file - because I don't have a web app server to run it on.

    I don't want the user to have to go through a complicated installation procedure - nothing more complicated than unpacking a tarball.

    So what strategy should I use? What am I missing?

    Thanks.

  2. #2

    Default

    As part of the same question I'd like to package up a command line processing library (eg http://commons.apache.org/cli/ ) as an addon. Has anyone done this? It shouldn't be too hard, should it...

  3. #3
    Join Date
    Dec 2010
    Posts
    29

    Default

    You could use "one jar" to package your app as 1 jar containing your code and all the required maven depencies

    http://one-jar.sourceforge.net/

  4. #4

    Default

    Quote Originally Posted by Wesker317 View Post
    You could use "one jar" to package your app as 1 jar containing your code and all the required maven depencies

    http://one-jar.sourceforge.net/
    That was precisely what I needed. Thanks. Sorry this was probably not a SpringRoo specific question...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •