Fresh Groovy

Groovy packages for Ubuntu based Linux

JAVA_HOME Mandatory for Groovy and Grails PPA

Many people have reported problems using the Groovy, Grails and Griffon PPA packages when installing their own JDK manually. Up to this point, the PPA packages have relied heavily on the update-alternatives command for configuring what JDK to use. This has been the cause of much confusion.

Since most Groovy developers are comfortable with setting up their own development environment, I have decided to remove this dependecy on the update-alternatives command. It is now mandatory for the user to set their own JAVA_HOME environment variable where necessary. It would seem that the Groovy startGroovy script is very efficient at working out the JAVA_HOME variable for itself on Ubuntu. The Grails equivalent startGrails not so.

When invoking grails from the command line with no JAVA_HOME set, the following message will be displayed on the command line:

grails: JAVA_HOME environment variable is not set

To remedy this, please add the following line to your ~/.bash_profile or ~/.profile file. If you require all users of your machine to use the grails command, you can configure it globally by adding the snippet to the /etc/profile file.

export JAVA_HOME="/path/to/my/jdk"

It is also worth noting that the PPA packages will pull in the OpenJdk 6.0 packages by default. If you are happy to use this then express your snippet as follows for a 64-bit architecture:

export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64"

or as follows for 32-bit:

export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-i386"

Only the latest builds have been updated to this behaviour. At time of writing the affected packages are:

  • Groovy 2.0.5
  • Grails 2.1.1

All packages going forward will also express this behaviour. Anyone requiring this to be implemented in historic packages can request it here.

Groovy 2.0.5 for Ubuntu Based Linux

Groovy 2.0.5 has arrived!

Please refer here for release notes.

These packages are now available for download from our PPA at LaunchPad for Ubuntu based Linux Distributions. Installation instructions can be found on this page.

This release is available for Ubuntu Oneiric, Precise and Quantal. It is also fully compatible with Linux Mint Lisa and Maya.

Please do remember that the installation method for groovy has changed due to a clash with the default packages provided on Ubuntu. To install our meta-package for groovy, run the following:

sudo apt-get install groovy-ppa

Installing the meta-package will guarantee that future new versions of groovy will be installed automatically by the package manager. See here for more details.

Enjoy!

Groovy 1.8.8 and 2.0.2 for Ubuntu Based Linux Released.

Groovy 1.8.8 and 2.0.2 released on Ubuntu.

These packages are now available for download from our PPA at LaunchPad for Ubuntu based Linux Distributions. Installation instructions can be found on this page.

This release is available for Ubuntu Oneiric and Precise only. It is also fully compatible with Linux Mint Lisa and Maya.

Enjoy!

Griffon 1.0.2 for Ubuntu Based Linux Released

Griffon 1.0.2 for Ubuntu based Linux released.

Release notes available here

Please refer here for installation instructions.

This release is available for Ubuntu Oneiric and Precise. Also on Linux Mint Lisa and Maya.

Enjoy!

Groovy 2.0.1 for Ubuntu Based Linux Released.

Groovy 2.0.1 released on Ubuntu.

These packages are now available for download from our PPA at LaunchPad for Ubuntu based Linux Distributions. Installation instructions can be found on this page.

This release is available for Ubuntu Oneiric and Precise only. It is also fully compatible with Linux Mint Lisa and Maya.

Version 2.0.1 contains the following:

Bug Fixes

  • [GROOVY-5208] - Incorrect line numbers in code using optimized primitive operations
  • [GROOVY-5466] - Invalid code crashes the compiler
  • [GROOVY-5508] - Verifier fails to check property types with covariant override
  • [GROOVY-5543] - Grab a Module Extension fails to match Map objects
  • [GROOVY-5556] - GAPI on codehaus doesn’t appear to have subproject groovydoc (check gradle build dist target)
  • [GROOVY-5557] - @Slf4j throws error in Groovy 2.0
  • [GROOVY-5559] - Type checker should treat gstrings as strings for generic collections
  • [GROOVY-5562] - GroovyFX - Class Cast Exception on BigDecimal to double when using Groovy 2.0 Indy=”true”
  • [GROOVY-5564] - @CompileStatic(SKIP) throws an error
  • [GROOVY-5565] - NPE when using TypeChecking and AIC with field
  • [GROOVY-5566] - possible bug when applying static typing to AIC referencing an outer local variable
  • [GROOVY-5567] - Types not inferred correctly for static fields
  • [GROOVY-5568] - DGM properties not available in interfaces?
  • [GROOVY-5569] - Can’t call method with concrete map implementation and generic arguments
  • [GROOVY-5570] - CompileStatic gives VerifyError: Register 1 contains wrong type
  • [GROOVY-5571] - Missing or wrong osgi headers since 2.0-rc1
  • [GROOVY-5572] - Invalid behaviour of ?: operator within an ‘if’ statement in closure
  • [GROOVY-5573] - Type checker incorrectly selecting DGM return type instead of actual return type
  • [GROOVY-5574] - Log4j annotation causes class generation BUG!
  • [GROOVY-5578] - Cannot use default map constructor with Java classes and type checking
  • [GROOVY-5579] - Static compiler sometimes use setProperty where it could make direct access
  • [GROOVY-5580] - @CompileStatic doesn’t support interfaces extending other interfaces
  • [GROOVY-5581] - Compilation order important to CompileStatic
  • [GROOVY-5583] - Parsing problem of number literal 0x8000000000000000L
  • [GROOVY-5584] - @CompileStatic fails to compile Map.each { key, value -> } form
  • [GROOVY-5585] - interface.property not recognized by type checker if property is of Object
  • [GROOVY-5586] - @Canonical class causes compile-time NPE under @StaticCompilation
  • [GROOVY-5587] - Map.Entry<K,V>#key and #value fail to infer type correctly under @StaticCompile
  • [GROOVY-5588] - Multidimensional Arrays: Incompatible argument to function
  • [GROOVY-5589] - Type checker doesn’t allow property notation as LHS when only a setter exists
  • [GROOVY-5591] - groovy-all-2.0.0-sources.jar is missing lots of source files
  • [GROOVY-5592] - No recent snapshot for 2.0.1 available from snapshots.repository.codehaus.org
  • [GROOVY-5593] - groovy-all-2.0.0 does not work with JDK 1.5
  • [GROOVY-5594] - Type checker doesn’t infer property type if coming from a generified getter
  • [GROOVY-5595] - Type checker doesn’t fully infer Map.Entry type
  • [GROOVY-5598] - Cannot use @CompileStatic with Thread.start method
  • [GROOVY-5601] - static type checker NPE when instantiating generic interface (with and without diamond)
  • [GROOVY-5605] - Class Cast Exception when using Groovy 2.0 Indy=”true” and using an integer with a double.
  • [GROOVY-5606] - Problem with CompileStatic
  • [GROOVY-5607] - @Compile static Sql.newInstance
  • [GROOVY-5608] - @CompileStatic casting problem
  • [GROOVY-5611] - Annotating a method with @CompileStatic when the class is already annotated leads to errors
  • [GROOVY-5612] - Fix “gradle idea” task
  • [GROOVY-5613] - @CompileStatic - Caught: java.lang.VerifyError - Inconsistent stack height 1 != 2
  • [GROOVY-5614] - Diamond Inference broken with Static Compilation
  • [GROOVY-5615] - var.getProperties() cannot be invoked as var.properties when using @CompileStatic
  • [GROOVY-5616] - Compile static failing to allow cast of groovy type to GroovyObject
  • [GROOVY-5617] - strange behavior with lists involving generics
  • [GROOVY-5618] - Type checker throws No such property: value for class: java.lang.Object
  • [GROOVY-5619] - Static compiler calls setter even with attribute notation
  • [GROOVY-5620] - Spread-safe operator unsupported on LHS of assignments
  • [GROOVY-5622] - Cannot loop using foreach or “for in” in @TypeChecked code
  • [GROOVY-5623] - collection’s “each” fails if compiled with @CompileStatic

Improvements

  • [GROOVY-5561] - When using @CompileStatic you cannot access class properties in some circumstances
  • [GROOVY-5577] - Augmenting the new AST node types introduced by compile static
  • [GROOVY-5597] - Add a label lookup feature to @ASTTest
  • [GROOVY-5599] - Assignments to null of variables with generics lead to cryptic errors

New Features

  • [GROOVY-5542] - Support Mac OS X Lion full screen capability

Enjoy!

Griffon 1.0.1 for Ubuntu Based Linux Released

Griffon 1.0.1 for Ubuntu based Linux released.

Release notes available here

Please refer here for installation instructions.

This release is available for Ubuntu Oneiric and Precise. Also on Linux Mint Lisa and Maya.

Enjoy!

Grails 2.1.0 Final for Ubuntu Based Linux Released

Grails 2.1.0 Final has been released for Ubuntu based Linux distributions.

Release Notes for 2.1.0 can be found here

These packages are now available for download on our PPA at LaunchPad for Ubuntu based Linux Distributions.

Easy installation instructions can be found on this page.

This release is available for Ubuntu Oneiric and Precise only. Also on Linux Mint Lisa and Maya.

Groovy 2.0.0 Final for Ubuntu Based Linux

Groovy 2.0.0 Final has arrived on Ubuntu!

Please refer here for release notes.

These packages are now available for download from our PPA at LaunchPad for Ubuntu based Linux Distributions. Installation instructions can be found on this page.

This release is available for Ubuntu Oneiric and Precise only. It is also fully compatible with Linux Mint Lisa and Maya.

Please not that the installation method for groovy has changed due to a clash with the default packages provided on Ubuntu. To install our meta-package for groovy, run the following:

sudo apt-get install groovy-ppa

Installing the meta-package will guarantee that future new versions of groovy will be installed automatically by the package manager. See freshgroovy.com/groovy for more details.

Enjoy!

Griffon 1.0.0 Final for Ubuntu Based Linux

Griffon 1.0.0 final for Ubuntu based Linux is here!!!

Release notes available here.

Please refer here for installation instructions.

This release is available for Ubuntu Oneiric and Precise. Also on Linux Mint Lisa and Maya.

Enjoy!

Grails 1.3.9 Security Release on Ubuntu Based Linux

Grails 1.3.9 (security release) has been pushed out for Ubuntu based Linux distributions.

Release Notes for 1.3.9 as can be found here.

These packages are now available for download on our PPA at LaunchPad for Ubuntu based Linux Distributions.

Easy installation instructions can be found on this page.

This release is available for Ubuntu Oneiric and Precise only. Also on Linux Mint Lisa and Maya.

← Older Blog Archives
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.