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
Install the necessary build tools
AutoReviewComments is assembled from sources and made into ready to use userscripts and extensions using the Apache Ant build system. The main tool
ant and some additional contributed libraries in
ant-contrib are required to build the extension from source.
Install the JDK
To do so, you need to accept the license agreement. Then you can download the file appropriate for your platform and run it. (screenshot)
Make sure that the Ant-Contrib tasks are selected for installation. (screenshot)
When asked to provide the Java directory, provide the path of the JDK installation you performed earlier. In our case, the path of the JDK is
C:\Program Files\Java\jdk1.7.0_51. (screenshot)
Download ActiveState ActivePython 2.7.x and install it.
Install ant from core.
pacman -Sy apache-ant
yaourt -Sy apache-ant-contrib
Install all required dependencies to download and build SE-AutoReviewComments.
sudo apt-get install ant ant-contrib git openjdk-7-jdk python2.7
To make sure that ant can find the ant-contrib tasks, create a symlink into the
libfolder of the ant installation:
sudo ln -s /usr/share/java/ant-contrib.jar /usr/share/ant/lib/ant-contrib.jar
Mac OS X
Install Homebrew if you haven't already.
Install Apache Ant from the standard formula.
brew install apache-ant
Install ant-contrib using this (unofficial) package.
brew install https://github.com/teras/homebrew-teras/raw/ant-contrib/Library/Formula/ant-contrib.rb
Open an instance of Git Bash. (screenshot)
Clone the SE-AutoReviewComments git repository, using
git clone https://github.com/Benjol/SE-AutoReviewComments.git. Substitute the URL of your clone if you have forked it on Github (recommended). (screenshot)
Start the build process by issuing
./build.shin the SE-AutoReviewComments folder (NOTE: this may not succeed if you did not go through with the 'reboot' step requested by the winant install). (screenshot)
Linux (all) and Mac OS X
Grab a copy of the git repository. Substitute the URL of your clone if you have forked it on Github (recommended).
git clone https://github.com/Benjol/SE-AutoReviewComments.git
Build SE-AutoReviewComments using the provided script.
cd SE-AutoReviewComments ./build.sh