theMadKing
theMadKing

Reputation: 2074

Scala REPL Remove Dependency

So I am using the Spark-Shell which is essentially the Scala REPL with added in dependencies and a few setup procedures. The problem with some of my code that I am running through it is there are already dependencies added in. I was wondering if there is a way to remove dependencies to add newer ones I want?

I can easily add in new ones with the :cp .jar command but it does not seem to be overwriting the one that is currently there.

Upvotes: 0

Views: 199

Answers (1)

OlivierBlanvillain
OlivierBlanvillain

Reputation: 7768

You could try writing you own Spark-Shell which would give you fine grain control over your dependencies. Spark-Shell is essentially sbt console with a few initialCommands in a build.sbt.

Upvotes: 1

Related Questions