Reputation: 5280
I have just upgraded from 0.9.0 to 1.0.0-M7 of the xsbt web plugin. However my build.scala now no longer compiles. I am setting the jetty port by doing the following:
import com.earldouglas.xsbtwebplugin.PluginKeys.port
import com.earldouglas.xsbtwebplugin.WebPlugin.{container, webSettings}
... // in my Build object
def Conf = config("container")
def jettyPort = 8081
But after the upgrade the compiler can no longer find the imports giving me the error below. I have been unable to find an updated sample of the correct way to set this port.
Thanks Des
import com.earldouglas.xsbtwebplugin.PluginKeys.port
[error] ^
[error] .../project/build.scala:9: object xsbtwebplugin is not a member of package com.earldouglas
Upvotes: 0
Views: 199