Skip to content

Reference to undefined setting: scriptedKeepTempDirectory #1049

@xuwei-k

Description

@xuwei-k

steps

project/plugins.sbt

addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8" % "0.18.0")

project/build.properties

sbt.version=2.0.0-RC9

problem

Reference to undefined setting: 

  scriptedKeepTempDirectory from scripted (ScriptedPlugin.scala:95)
 
	at sbt.internal.util.Init.Uninitialized(Settings.scala:400)
	at sbt.internal.util.Init.Uninitialized$(Settings.scala:17)
	at sbt.Def$.Uninitialized(Def.scala:54)
	at sbt.internal.util.Init.delegate(Settings.scala:311)
	at sbt.internal.util.Init.delegate$(Settings.scala:17)
	at sbt.Def$.delegate(Def.scala:54)
	at sbt.internal.util.Init.compiled(Settings.scala:213)
	at sbt.internal.util.Init.compiled$(Settings.scala:17)
	at sbt.Def$.compiled(Def.scala:54)
	at sbt.internal.util.Init.makeWithCompiledMap(Settings.scala:223)
	at sbt.internal.util.Init.makeWithCompiledMap$(Settings.scala:17)
	at sbt.Def$.makeWithCompiledMap(Def.scala:54)
	at sbt.internal.Load$.$anonfun$13(Load.scala:291)
	at sbt.internal.Load$.timed(Load.scala:1631)
	at sbt.internal.Load$.apply(Load.scala:293)
	at sbt.internal.Load$.defaultLoad(Load.scala:60)
	at sbt.BuiltinCommands$.doLoadProject(Main.scala:979)
	at sbt.BuiltinCommands$.loadProjectImpl$$anonfun$2(Main.scala:933)
	at sbt.Command$.applyEffect$$anonfun$2$$anonfun$1(Command.scala:149)
	at sbt.Command$.applyEffect$$anonfun$1$$anonfun$1(Command.scala:144)
	at sbt.Command$.process(Command.scala:188)
	at sbt.MainLoop$.$anonfun$14(MainLoop.scala:269)
	at scala.Option.getOrElse(Option.scala:203)
	at sbt.MainLoop$.process$1(MainLoop.scala:269)
	at sbt.MainLoop$.processCommand(MainLoop.scala:326)
	at sbt.MainLoop$.next$$anonfun$1$$anonfun$1(MainLoop.scala:172)
	at sbt.State$StateOpsImpl$.runCmd$1(State.scala:270)
	at sbt.State$StateOpsImpl$.process$extension(State.scala:306)
	at sbt.MainLoop$.next$$anonfun$1(MainLoop.scala:172)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
	at sbt.MainLoop$.next(MainLoop.scala:173)
	at sbt.MainLoop$.runLoop(MainLoop.scala:148)
	at sbt.MainLoop$.run(MainLoop.scala:143)
	at sbt.MainLoop$.runWithNewLog$$anonfun$1(MainLoop.scala:121)
	at sbt.io.Using.apply(Using.scala:41)
	at sbt.MainLoop$.runWithNewLog(MainLoop.scala:114)
	at sbt.MainLoop$.runAndClearLast(MainLoop.scala:70)
	at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:53)
	at sbt.MainLoop$.runLogged(MainLoop.scala:46)
	at sbt.StandardMain$.runManaged(Main.scala:233)
	at sbt.xMain$.run$$anonfun$3(Main.scala:143)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
	at scala.Console$.withIn(Console.scala:229)
	at scala.Console$.withIn(Console.scala:242)
	at sbt.internal.util.Terminal$.withIn(Terminal.scala:642)
	at sbt.internal.util.Terminal$.withStreams$$anonfun$1(Terminal.scala:420)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
	at scala.Console$.withOut(Console.scala:166)
	at sbt.internal.util.Terminal$.withOut$$anonfun$2(Terminal.scala:632)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
	at scala.Console$.withErr(Console.scala:195)
	at sbt.internal.util.Terminal$.withOut(Terminal.scala:632)
	at sbt.internal.util.Terminal$.withStreams(Terminal.scala:420)
	at sbt.xMain$.withStreams$1(Main.scala:94)
	at sbt.xMain$.run(Main.scala:145)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at sbt.internal.XMainConfiguration.run(XMainConfiguration.java:68)
	at sbt.xMain.run(Main.scala:48)
	at xsbt.boot.Launch$.run$$anonfun$1(Launch.scala:132)
	at xsbt.boot.Launch$.withContextLoader(Launch.scala:157)
	at xsbt.boot.Launch$.run(Launch.scala:132)
	at xsbt.boot.Launch$.apply$$anonfun$1(Launch.scala:43)
	at xsbt.boot.Launch$.launch(Launch.scala:142)
	at xsbt.boot.Launch$.apply(Launch.scala:43)
	at xsbt.boot.Launch$.apply(Launch.scala:24)
	at xsbt.boot.Boot$.runImpl(Boot.scala:73)
	at xsbt.boot.Boot$.run(Boot.scala:69)
	at xsbt.boot.Boot$.main(Boot.scala:23)
	at xsbt.boot.Boot.main(Boot.scala)
[error] Reference to undefined setting: 
[error] 
[error]   scriptedKeepTempDirectory from scripted (ScriptedPlugin.scala:95)
[error]  
[error] Use 'last' for the full log.

expectation

notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions