scala - Compiler error when specifying main class in Akka microkernel? -


here's project definition in build.scala. when go run sbt run or sbt dist same compiler error of not found: value distmainclass. it's quite annoying since checked akka-microkernel-plugin project find distmainclass right there in release 2.0. i'm using 2.0.5, , exists in 2.1.0, too.

lazy val servicekernel = project(     id = "tracker-kernel",     base = file("."),     settings = defaultsettings ++ akkakernelplugin.distsettings ++ seq(       librarydependencies ++= dependencies.servicekernel,       distjvmoptions in dist := "-xms512m -xmx2g -xx:+useconcmarksweepgc -xx:+cmsclassunloadingenabled -xx:parallelgcthreads=2",       outputdirectory in dist := file("target/s.tracker-dist"),       distmainclass in dist := "namespace.servicekernel" //says not found     )   ) 

any ideas source of issue? thanks!

as found out issue you've forgot import missing setting like:

import akka.sbt.akkakernelplugin.distmainclass 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -