Your SlideShare is downloading. ×

Nuxeo 5 Installation with Eclipse

1,592

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,592
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
49
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Nuxeo EP 5 Nuxeo 5 Compilation and Deployment with Eclipse Jean Marie PASCAL jeanmarie.pascal@gmail.com
  • 2. • Goals  Install a development environment with Eclipse  Compile Nuxeo source codes • Steps  JVM Installation  Maven Installation  Ant Installation  JBoss AS Installation  Eclipse and its plugins Installation  Nuxeo 5 source code Compilation et Deployment 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 2
  • 3. Configuration Used  Operating System :  Windows XP SP2  Processor  Intel Core 2 Duo  Computer memory  2Gb (1Gb Minimum Required) 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 3
  • 4. JVM Installation  Download JDK last version  Resource : SUN website (Version 5 compulsory!!!!)  jdk-1_5_0_14-windows-i586-p 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 4
  • 5. JVM Installation  Open the downloaded file and follow the installation wizard steps… 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 5
  • 6. JVM Installation  Check the installation  Open the Command Prompt  Start Menu  Run…  Enter the command « java –version »  Check the above message is displayed 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 6
  • 7. JVM Installation  Check the installation of the environment variables Create a new one if the environment variable doesn’t exist. 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 7
  • 8. 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. 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 8
  • 9. 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:optapache-maven-2.0.8 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 9
  • 10. Define the environment variables  Define MAVEN_HOME variable:  Define MAVEN_OPTS variable:  Define PATH variable: 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 10
  • 11. 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:optapache-ant-1.7.0 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 11
  • 12. Define the environment variables  Define ANT_HOME variable:  Define ANT_OPTS variable:  Define PATH variable: 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 12
  • 13. Ant Installation  Check the installation  Open the Command Prompt  Start Menu  Run…  Type the command « ant –version »  Check the above message is displayed 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 13
  • 14. Installation de jBoss AS  Télécharger la version 4.0.5  Ressource : SourceForge.net   Remarque Préliminaire :  Le répertoire d’installation est JBOSS_HOME :  C:optjboss 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 14
  • 15. jBoss AS Installation  Open the downloaded file and follow the installation wizard instructions… 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 15
  • 16. Eclipse Installation  Download Europa version 3.3  Resource : Eclipse.org   Unzip the downloaded file in the following folder  C:opt  Then you get ECLIPSE_HOME :  C:opteclipse 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 16
  • 17. Eclipse Installation  Create a workspace  Previous note:  Go to the following website for further information about Eclipse configuration for Nuxeo  http://svn.nuxeo.org/trac/nuxeo/browser/tools/eclipse-config 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 17
  • 18. Subclipse Installation  More information : http://subclipse.tigris.org/install.html 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 18
  • 19. Get the sources  Restart Eclipse and follow the steps described below 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 19
  • 20. Eclipse JBoss Tools plugin Installation  Download the last version - 2.0.0GA  Resource : labs.jboss.com   Unzip the downloaded file in the following folder  C:opt  Restart Eclipse and check the new icons are displayed 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 20
  • 21. In case these behaviors occur…  If the new icons don’t appear…  Open the Command Prompt  Menu Start  Run  cmd  Go to ECLIPSE_HOME  Type the command « eclipse –clean »  If this operation doesn’t solve the problem, check if the installation done when you unzipped jbossTools file has been properly done. 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 21
  • 22. Sources Compilation  In the Explorer package  Remove the extension « .sample » from the name of the « build.properties » file  Edit the file and define the path to the Jboss server 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 22
  • 23. Using Ant for Nuxeo deployment  Open the Ant view 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 23
  • 24. Using Ant for Nuxeo deployment  Drag and drop the file called « build.xml » in the Ant view Then :  Double click on the patch command And be patient… until it says:  Double click on the deploy command And be patient… until it says: 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 24
  • 25. To be aware of…  A (future) error might be raised concerning the application.xml file. When the server starts, it then notices this file is not in the following folder:  JBOSS_HOMEserverdefaultdeploynuxeo.earMETA-INF  To solve this problem before it occurs, you can copy the application.xml and jboss-app.xml files from the following folder  NUXEO_HOMEserverdefaultdeploynuxeo.earMETA-INF (you get this folder from the basic installation)  Paste them into the following folder  JBOSS_HOMEserverdefaultdeploynuxeo.earMETA-INF 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 25
  • 26. Create a server with Jboss Tools 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 26
  • 27. Using Jboss Tools to start the server  Open the Server view 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 27
  • 28. Start the application  Right click on the server and select Start  Be patient again until the following message in displayed in the Console view: 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 28
  • 29. Start the application  Open an Internet browser  Link : http://localhost:8080/nuxeo/  Login : Administrator  Password : Administrator 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 29
  • 30. Enjoy yourself ! 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 30
  • 31. 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 31
  • 32. 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/ 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 32

×