[MacPorts] #26701: sbt gives a "[error] Could not parse command: (1, 1): Expected identifier"

MacPorts noreply at macports.org
Sat Oct 2 03:49:58 PDT 2010


#26701: sbt gives a "[error] Could not parse command: (1,1): Expected identifier"
---------------------------------------------+------------------------------
 Reporter:  alessandro_mecca@…               |       Owner:  macports-tickets@…                   
     Type:  defect                           |      Status:  new                                  
 Priority:  Normal                           |   Milestone:                                       
Component:  ports                            |     Version:  1.9.1                                
 Keywords:                                   |        Port:  sbt @0.7.4                           
---------------------------------------------+------------------------------
 I installed sbt, downloaded the LiftWeb demo project from here
 [http://github.com/lift/lift_sbt_prototype/tarball/Lift_20] unpacked and
 run "sbt update".

 It returned this message:
 {{{
 [info] Building project Lift SBT Tempalte 0.1 against Scala 2.7.7
 [info]    using LiftProject with sbt 0.7.4 and Scala 2.7.7
 [error] Could not parse command: (1,1): Expected identifier
 [info]
 [info] Total time: 0 s, completed Oct 2, 2010 11:10:10 AM
 [info]
 [info] Total session time: 1 s, completed Oct 2, 2010 11:10:10 AM
 [error] Error during build.
 }}}

 Then I found that even a simple sbt --help was giving the same problem.

 Using the jar downloaded from the official sbt page
 [http://code.google.com/p/simple-build-tool/downloads/detail?name=sbt-
 launch-0.7.4.jar] it works.

-- 
Ticket URL: <https://trac.macports.org/ticket/26701>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list