Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where did the .target directory come from in my Play 2.1.1 project?

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?

like image 345
Bob Kuhar Avatar asked Mar 24 '23 22:03

Bob Kuhar


1 Answers

.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.

like image 172
mguillermin Avatar answered Apr 24 '23 01:04

mguillermin