Category Archives: Open Source

Gradle, Lift, and Google App Engine

I’m getting back into the game a little bit, and I decided to take a look at Lift for web development. After an initially promising experience, I became totally unhappy with Eclipse (it began forgetting I had Google App Engine libraries on the classpath after every clean). So I moved back to the command line. [...]

Also posted in Gradle, Scala | Tagged , , , , , , | Leave a comment

My Experience Installing F# on OS-X

I’ve been working in .NET for a while now, but the time finally came when I no longer had to be working on a Microsoft workstation via VPN. This meant that I was free to start developing .NET on my Mac, and that meant starting with installing F#. I presumed I was going to have [...]

Also posted in OCaml, Programming Language Punditry | Leave a comment

Newly Minted: JavaCC/JJTree Plugin for Gradle

I used to have a hackish JavaCC plugin under my Gradle-Plugins project, but I have ported it over to the Compiler plugins infrastructure that I announced before, and also added JJTree as part of the mix. This new approach solves a myriad of annoying edge cases in the old JavaCC plugin. The biggest benefit of [...]

Also posted in Gradle | Tagged , , , , | Leave a comment

New Gradle Plugin: DepNames

I just released the DepNames plugin for Gradle. It’s part of my gradle-plugins collection, appearing in version 0.6.6. You can read the description with an example from the README, but the basic idea is that you can create “keywords” for your common external dependencies. So this line: dependencies { compile "org.apache.felix:org.apache.felix.framework:3.0.1" } Becomes this line: [...]

Also posted in Gradle | Leave a comment

Script: Write out ASM Code to generate Java class

Edit: Updated version of the script here. Here’s a nifty little Groovy script to write out the ASM code to generate a given Java class. #!/usr/bin/env groovy   import org.objectweb.asm.util.ASMifierClassVisitor as V import org.objectweb.asm.ClassReader as R   @Grab(group=’asm’, module=’asm-all’, version=’[3.3,)') private class JustHereForGrab {}   new R(new File(this.args[0]).newInputStream()).accept(new V(new PrintWriter(System.out)), 0) You will have to [...]

Also posted in Ashlar/Cornerstone, Groovy | 2 Comments
  • Categories