~/.hoerc results in parsing error
---------------------------------

                 Key: JRUBY-3546
                 URL: http://jira.codehaus.org/browse/JRUBY-3546
             Project: JRuby
          Issue Type: Bug
          Components: Parser
    Affects Versions: JRuby 1.2
         Environment: Mac OS X 10.5.6 Intel. JRuby 1.2.0, Hoe 1.12.1
            Reporter: Dirkjan Bussink
            Assignee: Thomas E Enebo


The YAML in the following ~/.hoerc file is probably parsed incorrectly:

publish_on_announce: false
exclude: !ruby/regexp 
/tmp$|CVS|\.svn|_darcs|\.git|log$|local/.*\.rb$|Makefile|.*\.o$|.*\.bundle$ 
|.*\.so$|.*\.dll$/

This results in the parser to fail with for example the following backtrace:

(in /Users/dirkjan/Documents/projects/do/data_objects)
rake aborted!
<script>:1: , unexpected null
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:501:in 
`with_config'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:607:in 
`define_tasks'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:490:in 
`initialize'
/Users/dirkjan/Documents/projects/do/tasks/hoe.rb:22
/Users/dirkjan/Documents/projects/do/tasks/hoe.rb:31:in `require'
/opt/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/dirkjan/Documents/projects/do/data_objects/Rakefile:24
/Users/dirkjan/Documents/projects/do/data_objects/Rakefile:2359:in `load'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2359:in 
`raw_load_rakefile'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1993:in 
`load_rakefile'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in 
`standard_exception_handling'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1992:in 
`load_rakefile'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1976:in `run'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in 
`standard_exception_handling'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:19:in `load'
/opt/jruby/bin/rake:19



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to