Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activator 1.3.6 overwriting build.sbt

Twice now, Activator (or something) has overwritten my build.sbt for a Play 2.4.4 project. After editing a view file, I refreshed a page in my app to update everything in Eclipse. It didn't work as expected, so I restarted Activator. Upon opening the project again, it just got stuck on 'Building Project' after compiling. After some looking, it turns out the build.sbt was empty except one line :

fork in run := true

From this question, I understand Activator looks for this line and sometimes adds it, but why is it overwriting the whole file?

Update:

This continues to happen with Activator 1.3.10, and has happened in every version of Activator I've used since 1.3.6.

like image 449
Indigenuity Avatar asked Nov 10 '22 00:11

Indigenuity


1 Answers

If you dont have any special reasons just use SBT instead activator. Activator is only wrapper with web interface for sbt project.

like image 112
mgosk Avatar answered Nov 22 '22 10:11

mgosk