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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -