Skip to content

Commit 53d6a6f

Browse files
Merge pull request diffblue#379 from diffblue/bugfix/afresco-install-docs
Update README for how to install Alfresco
2 parents 65d0409 + 069e861 commit 53d6a6f

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

benchmarks/GENUINE/README.txt

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,30 @@ LGPL-3.0
3636

3737
Install guide for Ubuntu:
3838

39-
1. Add the package source for java 7
39+
1. Install openjdk-java7-jdk
4040
sudo add-apt-repository ppa:openjdk-r/ppa
41-
2. Install openjdk-java7-jdk
41+
sudo apt update
4242
sudo apt install openjdk-7-jdk
43-
3. Switch to java 7 (remember to switch back before you next use java)
43+
2. Switch to java 7 (remember to switch back before you next use java)
4444
sudo update-java-alternatives --set java-1.7.0-openjdk-amd64
45-
4. Change directory to the directory of this readme file and clone:
45+
3. Change directory to the directory of this readme file and clone:
46+
git clone [email protected]:Alfresco/community-edition Alfresco
47+
OR
4648
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+
4. Change directory to Alfresco.
50+
cd Alfresco
51+
5. (Optional) Check out the commit before a xss attack was fixed
4952
git checkout 5fcc93f009c6fb8578e87e79dc19a44309210602
50-
7. Build it using maven:
51-
mvn clean package -DskipTests
52-
8. Install it:
53-
mvn install
54-
55-
The built binaries will be stored in:
56-
target (can be more than one directory, in sub-directories)
53+
6. Build and install Alfresco using maven:
54+
mvn install -DskipTests
55+
7. Install into a distribution folder
56+
mkdir dist
57+
cp projects/web-client/target/alfresco-4.3.0-SNAPSHOT.war dist
58+
cp projects/slingshot/target/share-4.3.0-SNAPSHOT.war dist
59+
cp projects/3rd-party/lib/devenv/mysql-connector-java-5.1.13-bin.jar dist
60+
cp projects/3rd-party/lib/devenv/postgresql-9.3-1101-jdbc41.jar dist
61+
cp projects/3rd-party/lib/xalan-2.7.0/xalan.jar dist
62+
cp projects/3rd-party/lib/xalan-2.7.0/serializer.jar dist
5763

5864

5965
(2) DSpace

0 commit comments

Comments
 (0)