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

Buildr passes malformed -g argument to scalac

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 1.4.5
    • None
    • Compilers, Packaging

    Description

      scalac barfs on '-g' option:

      scalac error: Usage: -g:<level>
      where <level> choices are none, source, line, vars, notailcalls (default: vars)

      scalac -help gives more information
      scalac error: bad option: '-g'
      scalac -help gives more information

      The fix is pretty simple (I assume that "source" is the desired debug level here).

      229c229
      < args << "-g" if options[:debug]

      > args << "-g:source" if options[:debug]

      Attachments

        Activity

          People

            boisvert Alex Boisvert
            dbarowy Daniel Barowy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified