Skip to content
Oliver Salzburg edited this page Mar 3, 2014 · 10 revisions

Building SE-AutoReviewComments

Windows

Installing the JDK

  1. 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

Installing Ant

  1. Download winant and install it.
    Screenshot

  2. Make sure that the Ant-Contrib tasks are selected for installation.
    Screenshot

  3. 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

Installing git

  1. Download Git for Windows and install it.
    Screenshot

Building

  1. Open an instance of Git Bash.
    Screenshot

  2. Clone the SE-AutoReviewComments git repository, using git clone https://github.com/Benjol/SE-AutoReviewComments.git.
    Screenshot

  3. Start the build process by issuing ant in the SE-AutoReviewComments folder.
    Screenshot

Linux (Debian)

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

     sudo apt-get install ant ant-contrib git openjdk-7-jdk
    
  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
    
  3. Grab a copy of the git repository.

     git clone https://github.com/Benjol/SE-AutoReviewComments.git
    
  4. Build SE-AutoReviewComments using ant.

     cd SE-AutoReviewComments
     ant
    

    Note: If you're using a 64bit CPU, you need to tell ant:

     ant -Darch=64
    
Clone this wiki locally