Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-224

Compile task fails if trace activated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.3.4
    • 1.3.4
    • Compilers
    • None

    Description

      If trace is activated, buildr compile fails with the trace below.

      lib/buildr/java/ant.rb must require 'logger'.

      Buildr aborted!
      uninitialized constant Buildr::Ant::Logger
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2465:in `const_missing'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/java/ant.rb:43:in `const_missing'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/java/ant.rb:69:in `ant'
      ./tasks/xmlbeans.rb:46:in `compile'
      ./tasks/xmlbeans.rb:69:in `compile_xml_beans'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `call'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `execute'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:637:in `invoke_with_call_chain'
      /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:623:in `invoke_with_call_chain'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:588:in `invoke_prerequisites'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
      /home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `invoke_prerequisites'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:388:in `invoke_prerequisites'
      /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:630:in `invoke_with_call_chain'

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexismidon Alexis Midon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: