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

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -