scala - Changing sbt project's directory layout -
scala - Changing sbt project's directory layout -
according sbt tutorial on changing paths i'm trying alter "target" output directory "someother"
override def outputdirectoryname = "someother"
everything goes fine except one: sbt automatically creates target directory ".history" file inside. why sbt when supposed create only "someother" dir ? tryied override methods inherited basicprojectpaths (i utilize sbt.defaultproject superclass of project descriptor)
override def maincompilepath = ... override def testcompilepath = ... ...
but sbt creates "target" folder in spite of paths overriding.
it seems should utilize overridden outputdirectoryname in trunk...
/** path file provides persistence history. */ def historypath: option[path] = some(outputrootpath / ".history") def outputpath = crosspath(outputrootpath) def outputrootpath: path = outputdirectoryname def outputdirectoryname = defaultoutputdirectoryname
(from sbt's current trunk).
it may have been different in previous version. have considered raising new bug?
scala sbt
Comments
Post a Comment