buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BUILDR-588) Buildr passes malformed -g argument to scalac
Date Fri, 17 Jun 2011 19:43:47 GMT

    [ https://issues.apache.org/jira/browse/BUILDR-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051284#comment-13051284
] 

Alex Boisvert commented on BUILDR-588:
--------------------------------------

What I meant to say was Scala 2.9 is fully supported in trunk.  We'll do a release now.

> 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

        

Mime
View raw message