Difference between revisions of "Building from sources"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(Requirements)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
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 parent dependencies ==
+
== Download the source package ==
  
 +
The source files are available in a compressed .zip file from the [https://sourceforge.net/projects/logicaldoc/ LogicalDOC project on SourceForge], accessing the files under section Files [https://sourceforge.net/projects/logicaldoc/files/sources/ /sources].<br/>
 +
Navigate to the version you are interested and download the .zip archive<br/>
 +
e.g. This is the link to download the sources of LogicalDOC CE version 7.1.2 [http://sourceforge.net/projects/logicaldoc/files/sources/sources-7.x/logicaldoc-7.1.2-src.zip/download logicaldoc-7.1.2-src.zip]
 +
 +
== 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
  
go into folder: build/poms
+
go into folder: build/poms<br/>
 
+
launch the command:  
launch the command: mvn install
+
  mvn install
  
 
== Produce the web application archive ==
 
== Produce the web application archive ==
 
go into folder: community/logicaldoc/
 
go into folder: community/logicaldoc/
  
  launch the command: mvn -Dmaven.test.skip=true install
+
launch the command:  
 
+
  mvn -Dmaven.test.skip=true install
  on the subfolder: community/logicaldoc/logicaldoc-web/target
+
on the subfolder: community/logicaldoc/logicaldoc-web/target<br/>
  you should find the .war archive containing the web application
+
you should find the .war archive containing the web application
 
    
 
    
  
 
For more instructions regarding maven installation or better workspace organization
 
For more instructions regarding maven installation or better workspace organization
 
you can read the [http://www.logicaldoc.com/documents/logicaldoc-devmanual.pdf LogicalDOC Developer's Manual]
 
you can read the [http://www.logicaldoc.com/documents/logicaldoc-devmanual.pdf LogicalDOC Developer's Manual]
 +
 +
[[Category: Developer Guide]]

Latest revision as of 14:18, 29 June 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 on SourceForge, accessing the files under section 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

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