Skip to content

Commit 65d0409

Browse files
Merge pull request diffblue#378 from diffblue/owen-jones-diffblue/alfresco-readme
Update readme for installing Alfresco
2 parents 9b63c84 + 6c5fdbc commit 65d0409

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

benchmarks/GENUINE/README.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,21 @@ LGPL-3.0
3636

3737
Install guide for Ubuntu:
3838

39-
1. Open a terminal in the directory of this readme file and clone:
40-
git clone https://github.com/Alfresco/community-edition
41-
2. Rename the created sub-directory "community-edition" to "Alfresco".
42-
3. Enter the directory "Alfresco" and build it using maven:
39+
1. Add the package source for java 7
40+
sudo add-apt-repository ppa:openjdk-r/ppa
41+
2. Install openjdk-java7-jdk
42+
sudo apt install openjdk-7-jdk
43+
3. Switch to java 7 (remember to switch back before you next use java)
44+
sudo update-java-alternatives --set java-1.7.0-openjdk-amd64
45+
4. Change directory to the directory of this readme file and clone:
46+
git clone https://github.com/Alfresco/community-edition Alfresco
47+
5. Change directory to "Alfresco".
48+
6. (Optional) Check out the commit before a xss attack was fixed
49+
git checkout 5fcc93f009c6fb8578e87e79dc19a44309210602
50+
7. Build it using maven:
4351
mvn clean package -DskipTests
52+
8. Install it:
53+
mvn install
4454

4555
The built binaries will be stored in:
4656
target (can be more than one directory, in sub-directories)

0 commit comments

Comments
 (0)