Neilos
Neilos

Reputation: 2746

What's the purpose of the files created at activator auto-update?

Typesafe Activator has just updated itself to version 1.2.12 (from 1.2.10), although I have no idea currently where it installed itself.

It created some files in my project. Here is a list:

activator-sbt-echo-play-shim.sbt
project/activator-sbt-idea-shim.sbt
project/activator-sbt-eclipse-shim.sbt
project/activator-sbt-echo-play-shim.sbt

Can I safely delete them all? What is their purpose? Will the Activator browser app still work without them?

Upvotes: 1

Views: 375

Answers (1)

Jacek Laskowski
Jacek Laskowski

Reputation: 74709

While updating itself, activator copies the jars to ~/.ivy2/cache (under com.typesafe.activator, org.scala-sbt amongst the others) and ~/.sbt/boot/scala-2.11.1 (since the 1.2.12 version uses it).

Getting Scala 2.11.1 (for activator-launcher)...
:: retrieving :: org.scala-sbt#boot-scala
    confs: [default]
    6 artifacts copied, 0 already retrieved (24060kB/96ms)

I remember the files under project, but can't reproduce how to create them while activator updates itself so I'm not 100% sure what's inside.

I'm pretty sure you can remove project/activator-sbt-idea-shim.sbt and project/activator-sbt-eclipse-shim.sbt, but uncertain about project/activator-sbt-echo-play-shim.sbt (probably yes).

Upvotes: 2

Related Questions