Benjol edited this page Apr 8, 2014 · 10 revisions

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.


  1. Install the JDK

    Download a copy of latest JDK from Oracle and install it. (screenshot)

    To do so, you need to accept the license agreement. Then you can download the file appropriate for your platform and run it. (screenshot)

  2. Install Ant

    Download winant and install 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)

  3. Install git

    Download Git for Windows and install it. (screenshot)

  4. Install Python

    Download ActiveState ActivePython 2.7.x and install it.

Linux (Arch)

  1. Install ant from core.

     pacman -Sy apache-ant
  2. Install ant-contrib using your favorite AUR helper or directly from this package.

     yaourt -Sy apache-ant-contrib

Linux (Debian)

  1. Install all required dependencies to download and build SE-AutoReviewComments.

     sudo apt-get install ant ant-contrib git openjdk-7-jdk python2.7
  2. To make sure that ant can find the ant-contrib tasks, create a symlink into the lib folder of the ant installation:

     sudo ln -s /usr/share/java/ant-contrib.jar /usr/share/ant/lib/ant-contrib.jar

Mac OS X

  1. Install Homebrew if you haven't already.

  2. Install Apache Ant from the standard formula.

     brew install apache-ant
  3. Install ant-contrib using this (unofficial) package.

     brew install

Building SE-AutoReviewComments


  1. Open an instance of Git Bash. (screenshot)

  2. Clone the SE-AutoReviewComments git repository, using git clone Substitute the URL of your clone if you have forked it on Github (recommended). (screenshot)

  3. Start the build process by issuing ./ in 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

  1. Grab a copy of the git repository. Substitute the URL of your clone if you have forked it on Github (recommended).

     git clone
  2. Build SE-AutoReviewComments using the provided script.

     cd SE-AutoReviewComments
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.