I'm just getting started with the Scala/Play 2.1.1/Scala-IDE stack and am kind-of confused as to why my Play 2.1 project directory contains both a target directory and a .target directory. The stock .gitignore appropriately ignores the target directory, but not the .target one.
Where did .target come from, what does it mean, and should it be also included in .gitignore?
.target
is the directory configured for Eclipse output by SBT (when you use the SBT eclipse
command).
According to this issue, they choose this name (not the same as the SBT target
directory) to avoid Eclipse and SBT compiling to the same directory.
You can include it in your .gitignore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With