You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:12:49 UTC

[jira] [Closed] (BUILDR-588) Buildr passes malformed -g argument to scalac

     [ https://issues.apache.org/jira/browse/BUILDR-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-588.
-------------------------------


> Buildr passes malformed -g argument to scalac
> ---------------------------------------------
>
>                 Key: BUILDR-588
>                 URL: https://issues.apache.org/jira/browse/BUILDR-588
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers, Packaging
>    Affects Versions: 1.4.5
>         Environment: Buildr 1.4.5
> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
> Scala code runner version 2.9.0.1 -- Copyright 2002-2011, LAMP/EPFL
> Mac OS X 10.6.7 (10J869)
>            Reporter: Daniel Barowy
>            Assignee: Alex Boisvert
>            Priority: Blocker
>              Labels: buildr
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira