Difference between revisions of "Developer Guide"

From OpenKM Documentation
Jump to: navigation, search
Line 8: Line 8:
  
 
* Java JDK 1.6  at http://java.sun.com/javase/downloads/index.jsp
 
* Java JDK 1.6  at http://java.sun.com/javase/downloads/index.jsp
 +
  
 
== Configuring maven ==
 
== Configuring maven ==
Line 19: Line 20:
  
 
== Configuring java to eclipse ==
 
== Configuring java to eclipse ==
Go to Window / Preferences / Java / Installed JRE. You must have JDK 1.6 defined here.
+
Go to '''Window''' / '''Preferences''' / '''Java''' / '''Installed JRE'''. You must have JDK 1.6 defined here.
  
  
 
[[File:Okm_dev_guide_004.jpeg‎]]
 
[[File:Okm_dev_guide_004.jpeg‎]]
 +
  
 
[[File:Okm_dev_guide_005.jpeg‎]]
 
[[File:Okm_dev_guide_005.jpeg‎]]
 +
  
  

Revision as of 18:00, 21 January 2010

You need to install eclipse IDE and some plugins.

For OpenKM 4.0


Configuring maven

Refer to maven installation at http://maven.apache.org/download.html#Installation

Really we'll use maven in operating system console only for some special operations like installing external libraries.

In GNU Linux Ubuntu for example you could add it in .bashrc

export PATH=$PATH:/home/jllort/software/apache-maven-2.2.1/bin


Configuring java to eclipse

Go to Window / Preferences / Java / Installed JRE. You must have JDK 1.6 defined here.


Okm dev guide 004.jpeg


Okm dev guide 005.jpeg


Checkout OpenKM from svn

Go to File / New / Other and select Maven / Checkout Maven Projects from SCM


Okm dev guide 001.jpeg


Select the svn type and typewrite the url https://openkm.svn.sourceforge.net/svnroot/openkm/branches/4.0/openkm to refer version 4.0.


Okm dev guide 002.jpeg


Okm dev guide 003.jpeg


Be patient, first time you downloading OpenKM from svn, you're downloading all libraries to your maven repository. It could need some hours depending your Internet connection.

After OpenKM it'll be donwloaded, automatically it'll be compiled