Slideshow transcript
Slide 1: Nuxeo EP 5 Nuxeo 5 Compilation and Deployment with Eclipse Jean Marie PASCAL jeanmarie.pascal@gmail.com
Slide 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
Slide 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
Slide 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
Slide 5: JVM Installation Open the downloaded file and follow the installation wizard steps… 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 5
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 18: Subclipse Installation More information : http://subclipse.tigris.org/install.html 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 18
Slide 19: Get the sources Restart Eclipse and follow the steps described below 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 19
Slide 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
Slide 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
Slide 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
Slide 23: Using Ant for Nuxeo deployment Open the Ant view 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 23
Slide 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
Slide 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
Slide 26: Create a server with Jboss Tools 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 26
Slide 27: Using Jboss Tools to start the server Open the Server view 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 27
Slide 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
Slide 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
Slide 30: Enjoy yourself ! 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 30
Slide 31: 24/02/08 http://opensourceecm.blogspot.com/search/label/Nuxeo 31
Slide 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






Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 0 (more)