Announcement Announcement Module
Collapse
No announcement yet.
Packaging a SpringRoo app for command line use Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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...

    Comment


    • #3
      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/

      Comment


      • #4
        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...

        Comment

        Working...
        X