Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add installation instructions to the README #23
Today I've been trying to get a project containing the sample code and the given snapshot dependency to compile and run, and while it finally compiles, I now find it throws a runtime exception with
My very basic sample code is here: https://github.com/fhocutt/jwbf-test/tree/master .
Once I get this running, I plan to improve the README and include step-by-step descriptions of how to get the sample code to run in the higher-level developerDoc that I'm writing.
Does it make more sense to reopen this or file another bug? I'm relatively new to Java but not to programming, and if I'm having this much trouble getting even a very simple bot to run using the instructions in the README, someone who's less experienced would have an even harder time.
They do. Java version info:
$ mvn --version
More information on what I tried is in this gist: https://gist.github.com/fhocutt/0221c1a35265ce7cda33
try if my pull request will work (this is more java/maven releated, and has nothing with this lib
has the following output
(If you are not interested in a logging system you can ignore the warnings from SLF)
But it depends on your target application how to package and execute it.
A simple use case could be a "jar with dependecies", so you can run your java application like
and do not have create the CP manually. Is this interesting for you?
(btw: IDEs like eclipse/intellij/... have maven integrations out of the box, so you can run main classes easier )