Difference between revisions of "Fast and Furious"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(Install the parent dependencies)
Line 48: Line 48:
 
To do this, open a command shell, move to the folder poms and run the command: mvn clean install
 
To do this, open a command shell, move to the folder poms and run the command: mvn clean install
  
[[04-install-the-parent-dependencies.gif]]
+
[[File:04-install-the-parent-dependencies.gif]]
  
 
[[Category: Developer Guide]]
 
[[Category: Developer Guide]]

Revision as of 15:21, 7 January 2015

Introduction

The developer environment can be set in any Operating System (Windows, Linux, etc..) since LogicalDOC is a multi-platform system, but we recommend Windows, since it is the development environment of reference.
As a result, most of the examples will show paths and screenshots of Windows.

Requirements

You need Tortoise SVN client (TortoiseSVN 1.8.7), Java JDK 1.7, Maven 3.2.5, Maven Ant Tasks 2.1.3, Ant 1.7.1, Eclipse Juno, Tomcat 7.0.57

Prepare the Workspace

Create the folder workspace71 as sub folder of your Home Directory.
In my case, as the home directory of my user is:

 C:\Users\George

I have to create the folder path

 C:\Users\George\workspace71

01ff-create-workspace.gif

Checkout a working copy of LogicalDOC CE

Checkout the following packages from the SVN repository of LogicalDOC CE on SourceForge:
ant, poms, logicaldoc

Checkout the LD's ant package using TortoiseSVN
Note: when you install TortoiseSVN on your Windows system it will add two new items to the contextual menu: SVN Checkout... and TortoiseSVN; you can activate the contextual menu simply using the right mouse click on a folder.

This are the SVN paths for source and target
svn://svn.code.sf.net/p/logicaldoc/code/build/ant/trunk
C:\Users\George\workspace71\ant

Repeat the steps above for the other two packages below

svn://svn.code.sf.net/p/logicaldoc/code/build/poms/trunk
C:\Users\George\workspace71\poms

svn://svn.code.sf.net/p/logicaldoc/code/community/logicaldoc/trunk
C:\Users\George\workspace71\logicaldoc

Install the parent dependencies

At this point you need to install the dependencies shared by the various LogicalDOC's modules.
To do this, open a command shell, move to the folder poms and run the command: mvn clean install

04-install-the-parent-dependencies.gif