I would like to use this source: https://github.com/mongodb/casbah How can I use this material? I would like to make a jar for the library. But I have no idea how to do this. Tried this with Eclipse and IntelliJ. I downloaded the source with:
git clone git:
Now I have a casbah folder; I copied it to the project source (in Eclipse or IntelliJ), but I can't even compile it ... there is always something like:
error: '{' expected but identifier found. package casbah-dynamic.src.main.scala
Do I need to compile? How? And what after compilation? This is a Scala project, but I think this is not so important. As a Java project, I would have to do the same.
So what should I do?
Edit: I saw that this material exists (some parts of it) as a bank ( http://scala-tools.org/repo-releases/com/mongodb/ ). But I would like to use the source and find out how to use it.
source share