Development environment and tools on Mac
 | Supplied software
If you're running Leopard (10.5), it seems Maven, Java and Subversion are already installed/will be installed if you have XCode/developers tools, thus there's no need to run through most of the steps on this page anymore unless you want to upgrade to newer versions. |
Step 1 - Download and install the tools
You have to download, install and configure these tools:
Step 2 - Environmental Variables Setup
- Create or modify the file /Users/<username>/.bash_login to contain the following:
SubVersion:
If you compiled SubVersion from source it puts its binaries in /usr/local/bin/. It's okey to add that one and sbin too to Path. If you don't specify -m/--message when you try to commit it will look for an editor in the SVN_EDITOR variable. Set it to your favorite editor, e.g. nano.
Maven:
Either add this for Maven into the same file, or merge the two commands into one:
Maven also needs the JAVA_HOME variable, add it to the same place:
to tie it too whatever is your Macs newest Java version, or be more specific if needed. Maven adds /bin/java to whatever you put there, pointing to /usr/bin/java which is a symlink to the real thing.
Apply the changes for the current terminal:
Test the changes by executing
in your terminal to apply the changes and then run:
Test the changes
You should then see that the output contains the mentioned paths and that running
works flawlessly.