Setup
wolfie edited this page Sep 13, 2010
·
4 revisions
As of writing this wiki page, Alpha 2 is the newest tagged version of Bob, and this page is written for that version in mind.
- Get the latest version of Bob, either by cloning the Git repository, or the latest tag from the downloads page.
- Add the scripts directory to your system’s
PATH
. This is thedist/
directory inside the repository. - Nothing you should need to care about (since these are autodetected and thus optional), but the
BOB_HOME
should point todist/
andBOB_LIB
todist/lib/
. All optional jars (such as JUnit’s jar, which is currently bundled) are placed directly inBOB_LIB
, alongside bob.jar. - Once
PATH
is set up, you should be able to simply callbob
on your command line, and Bob should be invoked. Callbob -h
to see the help. - To build Bob with itself, go to the project’s root directory, and simply call
bob
. The new jar file should appear atartifacts/bob.jar
Bob has been tested with OS X Snow Leopard and Windows 7, but most UNIX systems should be ok. Windows Vista should work too, not sure about 2000 or XP (probably not).
It’s best to see how Bob builds itself, and tweak the build code. The build file is, by default, bob/Default.java
, with src/
being the project’s default source path and test/
the default JUnit test path.