The Griffon Trove: packaging packaging packaging - No Fluff Just Stuff

The Griffon Trove: packaging packaging packaging

Posted by: Andres Almiray on February 24, 2012

Since the early days of Griffon it's possible to package an application in several packaging targets; the defaults are jar, zip, applet and webstart. Calling the package command with no arguments will automatically select these 4 targets for you.

But what if you desire a different set to be used when the package command is called without arguments? Since Griffon 0.9.5-rc1 you can specify the following flag in either $appHome/griffon-app/conf/BuildConfig.groovy or $USER_HOME/.griffon/settings.groovy, for example
Executing the package command will now package the application in zip and jar modes only.

If you happen to have the Installer plugin installed on your application you gain access to more packaging targets, like izpack, dmg, rpm and deb. These too can be added to the set of packaging targets you'd want to have executed by default.

Keep on Groovying!

Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »