Nuxeo EP 5
Installation based on
the source code
Jean Marie PASCAL
jeanmarie.pascal@gmail.com
• Goal
Install Nuxeo 5 version 5.1.3 based on the source
code
• Steps
JVM installation
Subversion installation : Tortoise SVN
Maven installation
Ant installation
JBoss AS installation
Compilation et Deployment of Nuxeo 5 Source Code
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 2
Configuration Used
Operating System :
Windows XP SP2
Processor
Intel Core 2 Duo
Computer memory
2Ghz (1Ghz Minimum Required)
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 3
JVM Installation
Download JDK last version
Resource : SUN website (Version 5 compulsory!!!!)
jdk-1_5_0_14-windows-i586-p
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 4
JVM Installation
Open the downloaded file and follow the
installation wizard steps…
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 5
JVM Installation
Check the installation
Open the Command Prompt
Start Menu Run…
Enter the command « java –version »
Check the above message is displayed
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 6
JVM Installation
Check the installation of the environment variables
Create a new one if the environment variable doesn’t exist.
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 7
Define the environment
variables
Define the CLASSPATH variable:
Define the PATH variable:
Note : Refer to the previous slide to know how to create an
environment variable.
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 8
Subversion Installation
Download Tortoise SVN last version
Resource : TortoiseSVN.net
Open the downloaded file and follow the
installation wizard…
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 9
Get the sources
Create a folder
Right click on the
created folder – select check-out
Fill the dialog
prompt
OK
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 10
Get the sources
Wait until the download operation is complete
Then check the folder’s content…
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 11
Maven Installation
Download Maven last version
Resource : Maven.apache.org
Unzip the downloaded file in the following folder
C:\\opt\\
Then you get MAVEN_HOME :
C:\\opt\\apache-maven-2.0.8
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 12
Maven Installation
Check the installation
Open the Command Prompt
Start Menu Run…
Type the command « mvn –v »
Check the above message is displayed
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 14
Ant Installation
Download Ant last version
Resource : ant.apache.org
Unzip the downloaded file in the following folder
C:\\opt\\
Then you get ANT_HOME :
C:\\opt\\apache-ant-1.7.0
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 15
Ant Installation
Check the installation
Open the Command Prompt
Start Menu Run…
Type the command « ant –version »
Check the above message is displayed
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 17
jBoss AS Installation
Download jBoss AS version 4.0.5
Resource : SourceForge.net
Unzip the downloaded file in the following folder
C:\\opt\\
Then you get JBOSS_HOME :
C:\\opt\\jboss
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 18
jBoss AS Installation
Open the downloaded file and follow the
installation wizard instructions…
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 19
jBoss AS Installation
In the JBOSS_HOME\\bin folder
Edit the file called « run.bat »
Manually add the following line
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 20
Sources Compilation
Open the folder where all the sources are stored
Remove the extension « .sample » from the name
of the « build.properties » file.
Edit the file and define the path to the Jboss server
as shown below
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 21
Sources Compilation
Open the Command Prompt
Start Menu Run…
Open the folder where all the sources are stored
Type the command: ant patch
Wait until the following message is displayed
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 22
Sources Compilation
Open the folder where all the sources are stored
Type the command: mvn compile
Wait until the following message is displayed
(Note this can last a while depending on the configuration
of your machine)
Finally type the command: ant deploy
Wait until the same end message is displayed…
Note: if an Java.heap.size – type error occurs during the compilation, change the
value of the environment variable MAVEN_OPTS to « -Xmx1024m –Xms512m »
And that’s it…
Nothing more to do !!
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 23
Well…nearly…
An error might be raised concerning the application.xml file.
This error notices this file is not in the following folder:
JBOSS_HOME\\server\\default\\deploy\\nuxeo.ear\\META-INF
To solve this problem, you can copy the application.xml and
jboss-app.xml files from the following folder
NUXEO_HOME\\server\\default\\deploy\\nuxeo.ear\\META-INF
(you get this folder from the basic installation)
Paste them into the following folder
JBOSS_HOME\\server\\default\\deploy\\nuxeo.ear\\META-INF
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 24
Start the application
In JBoss AS installation folder
Note : C:\\opt\\jboss= JBOSS_HOME
Folder : JBOSS_HOME/bin
Run the file called « run.bat »
And be patient for a couple of minutes…
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 25
Start the application
Once the following message is displayed
Open a web browser
Link : http://localhost:8080/nuxeo/
Login : Administrator
Password : Administrator
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 26
For further information…
Documentation and Screencasts
http://www.nuxeo.org/sections/documentation/
More about installation
http://doc.nuxeo.org/current/reference/html/nuxeo-boo
Website
http://www.nuxeo.org/
http://www.nuxeo.com/
12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 29
0 comments
Post a comment