SBT Resolve Locally from workspace

202 views Asked by At

In SBT/SBT eclipse is there a way to tell eclipse to (temporarily) resolve a dependency from a checked out elipse project rather than from the repository. Basically functionality similar to that offered by the workspace resolver in Ivy DE

My use case here is that I want to make some changes to a library project and instantly see the effect they have on one my applications that uses that library.

If such functioanality is not offered- is there another way I could achieve the desired result?

1

There are 1 answers

1
Onilton Maciel On

I don't know if this is the best or fastest way but you could do:

sbt "~publish-local" 

In the folder of the external lib to publish to your local repository. Everytime a change is made in that code, it will be compiled and resent to the local repository.

Then just

 sbt compile 

In your project