Difference between revisions of "Building from sources"

From LogicalDOC Community Wiki
Jump to navigationJump to search
Line 4: Line 4:
  
 
You need JDK 1.7, Maven 3.0.3, Ant 1.7 to build this sources
 
You need JDK 1.7, Maven 3.0.3, Ant 1.7 to build this sources
 +
 +
== Download the source package ==
 +
 +
The source files are available in a compressed .zip file from the LogicalDOC project site on SourceForge, accessing the files under section Files [/sources https://sourceforge.net/projects/logicaldoc/files/sources/].
 +
Navigate to the version you are interested and download the .zip archive
 +
e.g. This is the link to download the sources of LogicalDOC CE version 7.1.2 [logicaldoc-7.1.2-src.zip http://sourceforge.net/projects/logicaldoc/files/sources/sources-7.x/logicaldoc-7.1.2-src.zip/download]
  
 
== Install the parent dependencies ==
 
== Install the parent dependencies ==
  
 +
Unzip the .zip file archive.<br/>
 
Open a command shell to the folder where you unzipped the archive
 
Open a command shell to the folder where you unzipped the archive
  

Revision as of 10:04, 5 January 2015

Requirements

You need JDK 1.7, Maven 3.0.3, Ant 1.7 to build this sources

Download the source package

The source files are available in a compressed .zip file from the LogicalDOC project site on SourceForge, accessing the files under section Files [/sources https://sourceforge.net/projects/logicaldoc/files/sources/]. Navigate to the version you are interested and download the .zip archive e.g. This is the link to download the sources of LogicalDOC CE version 7.1.2 [logicaldoc-7.1.2-src.zip http://sourceforge.net/projects/logicaldoc/files/sources/sources-7.x/logicaldoc-7.1.2-src.zip/download]

Install the parent dependencies

Unzip the .zip file archive.
Open a command shell to the folder where you unzipped the archive

go into folder: build/poms
launch the command:

  mvn install

Produce the web application archive

go into folder: community/logicaldoc/

launch the command:

  mvn -Dmaven.test.skip=true install

on the subfolder: community/logicaldoc/logicaldoc-web/target
you should find the .war archive containing the web application


For more instructions regarding maven installation or better workspace organization you can read the LogicalDOC Developer's Manual