Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SBT 新手。
为什么'sbt new'会在当前目录下创建名为'target'的目录?看起来“sbt new”正在污染项目主目录的父目录。
my-projects-dir> sbt new playframework/play-scala-seed.g8
上面的命令在“my-projects-dir”下创建了一个名为“target”的目录。项目主页(play-scala-seed)成功创建(甚至编译成功)。
任何新项目的行为都是相同的,而不是专门针对提到的项目。