Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo git clone https://github.com/DSpace/DSpace.git (apt-get install git if you don't already have it)
cd

Compile and Build DSpace

The source release that has been obtained is human readable source code, and must be compiled to machine code for the server to run it. "mvn package" compiles the source code, and "ant" will do all the work necessary to initialize the database with the DSpace schema, and copy all of the compiled machine code to a location where the web server can serve it. This will overwrite any existing installation of DSpace that you may have.

Info

make sure all your dependencies are in order, and you're running maven 3.x. (Check this version with mvn -v)

 
sudo apt-get install openjdk-7-jdk
sudo apt-get install maven
sudo apt-get remove maven2

...