trying to make nailgun run on jruby 1.1.4.
trying to make nailgun run on jruby 1.1.4.

something weird is happening when comparing two symbols (as if they were
not equal) on project.rb, thus before_define blocks are not being run.

    # Call all callbacks for a particular state, e.g. :before_define, :after_define.
    def call_callbacks(state) #:nodoc:
      # Even when callbacks has a key with the same symbol value than state, (:before_define)
      # JRuby.1.1.4 seems them as not equal.
      methods = @callbacks.delete(state) || []
      methods.each { |method| method.call(project) }
    end


git-svn-id: f481de8ecb0d1e2ade8c586a5c716a32a1f3e8c1@691495 13f79535-47bb-0310-9956-ffa450edef68

jpcaruana/buildr,atoulme/buildr,mariusk/buildr-kawa,liamchristopher/buildr,atoulme/buildr,ittayd/buildr,apache/buildr,atoulme/buildr,apache/buildr,mariusk/buildr-kawa,assaf/buildr,mariusk/buildr-kawa,ittayd/buildr,apache/buildr,liamchristopher/buildr,ittayd/buildr,liamchristopher/buildr,liamchristopher/buildr,jpcaruana/buildr,jpcaruana/buildr,stewi2/buildr,jpcaruana/buildr,stewi2/buildr,assaf/buildr,assaf/buildr,stewi2/buildr,apache/buildr,stewi2/buildr