Archive for the ‘Play Framework’ Category

Play Framework and Cygwin

Wednesday, June 15th, 2011

Tip of the day:

Last week-end, I wanted to learn a bit more about the Play! framework, thus I downloaded it, installed it and created my first application. Then I encountered a frustrating problem: Play currently doesn’t seem to be friends with Cygwin.

The following command, supposed to start the application doesn’t really work as expected when executed from a Cygwin bash shell:

    $ play run

Instead of starting the app as expected, it just fails and whines:

Error opening zip file or JAR manifest missing : /cygdrive/...play-x.y.z/framework/play-x.y.z.jar
Error occurred during initialization of VM
agent library failed to init: instrument

Fortunately, it seems that using play.bat instead works as expected:

    $ play.bat run

That problem is in fact being worked on, I just saw that there’s a pull request for a (partial ?) fix: .