scala - Problem install lift framework on Fedora -
i'm trying start lift_basic project latest version of lift (2.4-m1).
i'm following docs - untarred tarball, changed scala_29/lift_basic
, ran ./sbt update
fails with:
getting scala 2.7.7 ... :: retrieving :: org.scala-tools.sbt#boot-scala confs: [default] 2 artifacts copied, 0 retrieved (9911kb/112ms) getting org.scala-tools.sbt sbt_2.7.7 0.7.5 ... :: retrieving :: org.scala-tools.sbt#boot-app confs: [default] 16 artifacts copied, 0 retrieved (4271kb/107ms) [info] recompiling project definition... [info] source analysis: 1 new/modified, 0 indirectly invalidated, 0 removed. sbt.undefinedvalue: value property '<unnamed>' /var/www/html/projects/lift/lift-lift_24_sbt-14a1743/scala_29/lift_basic/project/build.properties undefined. @ sbt.basicenvironment$userproperty.sbt$basicenvironment$userproperty$$inheritedvalue(environment.scala:155) @ sbt.basicenvironment$userproperty$$anonfun$resolvedefaultfirst$1.apply(environment.scala:135) @ sbt.basicenvironment$userproperty$$anonfun$resolvedefaultfirst$1.apply(environment.scala:135) @ sbt.basicenvironment$userproperty.sbt$basicenvironment$userproperty$$getdefault(environment.scala:143) @ sbt.basicenvironment$userproperty.resolvedefaultfirst(environment.scala:135) @ sbt.basicenvironment$userproperty.resolve(environment.scala:120) @ sbt.environment$property.value(environment.scala:16) @ liftproject.<init>(liftproject.scala:4) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:532) @ sbt.project$.constructproject(project.scala:391) @ sbt.project$$anonfun$9.apply(project.scala:365) @ sbt.project$$anonfun$9.apply(project.scala:364) @ scala.either$rightprojection.map(either.scala:239) @ sbt.project$.loadproject(project.scala:364) @ sbt.project$.loadproject(project.scala:355) @ sbt.project$.loadproject(project.scala:343) @ sbt.project$.loadproject(project.scala:340) @ sbt.xmain.run(main.scala:47) @ sbt.xmain.run0$1(main.scala:35) @ sbt.xmain.run(main.scala:42) @ xsbt.boot.launch$.run(launch.scala:53) @ xsbt.boot.launch$$anonfun$explicit$1.apply(launch.scala:42) @ xsbt.boot.launch$$anonfun$explicit$1.apply(launch.scala:42) @ xsbt.boot.launch$.launch(launch.scala:57) @ xsbt.boot.launch$.explicit(launch.scala:42) @ xsbt.boot.launch$.initialized(launch.scala:38) @ xsbt.boot.launch$.parsed(launch.scala:31) @ xsbt.boot.launch$.configured(launch.scala:21) @ xsbt.boot.launch$.apply(launch.scala:16) @ xsbt.boot.launch$.apply(launch.scala:13) @ xsbt.boot.boot$.runimpl(boot.scala:24) @ xsbt.boot.boot$.run(boot.scala:19) @ xsbt.boot.boot$.main(boot.scala:15) @ xsbt.boot.boot.main(boot.scala) error loading project: sbt.undefinedvalue: value property '<unnamed>' /var/www/html/projects/lift/lift-lift_24_sbt-14a1743/scala_29/lift_basic/project/build.properties undefined.
does know i'm going wrong?
thanks
i tried out myself (on ubuntu 10.04) , i'm getting exact same error. it's attempting build configuration property , reason failing. don't know enough sbt internals offer full solution, can show how around now.
simply open project/build/liftproject.scala , on line 4, change
val liftversion = property[version].value.tostring
to
val liftversion = "2.4-m3" //use value in project/build.properties lift.version
after did this, sbt able update , example project compiled , ran without error.
Comments
Post a Comment