Closed zhyongwei closed 2 years ago
@zhyongwei , can you please include a gist of your build.sbt
?
@myedibleenso Here is the build.sbt file.
Can odinson only be used in docker?
Can odinson only be used in docker?
No, it can be used as a scala library. I'm a little confused by the build.sbt
you shared, though. Have you just cloned the repository locally and are trying to run it, or is your goal to create a scala project that has Odinson as a dependency?
If you're trying to write your own scala project that has Odinson as a dependency, you'll want to remove almost that you've included in the build.sbt
you've shared (this guide may help you to get started). We can point you to a barebones project template
If you're trying to just run Odinson locally via sbt, you'll want to clone the repository.
The error your seeing relates to [this line] in the build.sbt
you shared:
That piece of code assumes you are running the git repo. My guess is you've copied the project, but no longer have the .git
directory. Is that the case?
If you want to run the repo as-is, you should clone it locally:
https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
I'm closing this due to inactivity. We can reopen if you would like to discuss further.
If one downloads the zip file, which may have been done here given the directory name, the .git files are not included. The git plugin has nothing to work from and will error out. Instead, clone the project with git.
When compiling 0.5.0 and 0.6.0 according to installation doc , we got some error messages:
Btw, the version of sbt is 1.3.0.