-
Notifications
You must be signed in to change notification settings - Fork 39
Building
-
Download a copy of latest JDK from Oracle and install it.
ScreenshotTo do so, you need to accept the license agreement. Then you can download the file appropriate for your platform and run it.
Screenshot
-
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
- Download Git for Windows and install it.
Screenshot
-
Open an instance of Git Bash.
Screenshot -
Clone the SE-AutoReviewComments git repository, using
git clone https://github.com/Benjol/SE-AutoReviewComments.git
.
Screenshot -
Start the build process by issuing
ant
in the SE-AutoReviewComments folder.
Screenshot
-
Install all required dependencies to download and build SE-AutoReviewComments.
sudo apt-get install ant ant-contrib git openjdk-7-jdk
-
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
-
Grab a copy of the git repository.
git clone https://github.com/Benjol/SE-AutoReviewComments.git
-
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