Jump to: navigation, search

Difference between revisions of "Trying Out Maya"

(Next Steps)
(Next Steps)
Line 11: Line 11:
  
 
== Next Steps ==
 
== Next Steps ==
(More to come - Just an outline)
 
  
add the derby core and ui plug-ins to your runtime plug-ins directory  
+
Install the Derby Core and UI plug-ins to your runtime plug-ins directory  
#*  Look for '''derby_core_plugin''' and '''derby_ui_plugin''' downloads after the full binary versions.
+
#*  Download '''derby_core_plugin''' and '''derby_ui_plugin''' (not the derby binary bundles)
install the JRE (if not already installed)
+
Install the Sun JRE 1.6 (if not already installed)
#  Start eclipse (we've tested with 3.3M6 and M7)
+
#  Start Eclipse (we've tested with 3.3M6 and M7)
#  Import team project set (derby.psf)
+
#  Import Team Project Set (derby.psf)
Add the following jar files to the '''lib''' folder in the '''org.eclipse.maya.server.example.hibernate''' project (Note: The following files can be found in the lib dir of the hibernate zip you downloaded except where noted)
+
#* Use '''Import > Team > Team Project Set''' and browse to the PSF file
 +
#  Add Hibernate Jars to '''org.eclipse.maya.server.example.hibernate''' project
 +
#* Place files in the '''lib''' folder.  Copy Jars from the downloaded hibernate zip's lib directory:
 
#*  antlr-2.7.6.jar
 
#*  antlr-2.7.6.jar
 
#*  asm.jar
 
#*  asm.jar
Line 28: Line 29:
 
#*  hibernate3.jar (can be found in the root of the zip)
 
#*  hibernate3.jar (can be found in the root of the zip)
 
#*  jta.jar
 
#*  jta.jar
#  Start derby
+
#  Start the Derby network server
#*  right click in the '''org.eclipse.maya.server.example.db''' project and choose '''Apache Derby > Start Derby Network Server'''
+
#*  Right click in the '''org.eclipse.maya.server.example.db''' project and choose '''Apache Derby > Start Derby Network Server'''
Zip 1.6.0 JRE and place in JRE folder
+
Create zip file of the Sun 1.6.0 JRE and place in JRE folder
#*  On windows navigate to the directory where there is folders like '''bin & lib''' and some other files and create a zip file just containing those files
+
#*  On Windows navigate to the directory where there is folders like '''bin & lib''' and some other files and create a zip file just containing those files
#*  Place that in the JRE folder for your os in the org.eclipse.maya.server.example.db plug-ins (Note: the file should be named '''jre_1.6.0.zip''')
+
#*  Place that in the JRE folder for your os in the '''org.eclipse.maya.server.example.db''' plug-ins (Note: the file must be named '''jre_1.6.0.zip''')
#  Build update site
+
#  Build Update Site for the Maya software
#*  Open the '''site.xml''' located in the '''update_site''' folder of the org.eclipse.maya.server.example.db project click '''Build All'''
+
#*  Open the '''site.xml''' located in the '''update_site''' folder of the '''org.eclipse.maya.server.example.db''' project click '''Build All'''
#  Start server
+
#  Start the Maya Web Server
 
#*  Run the server using the launch config '''Maya Server (Win)'''
 
#*  Run the server using the launch config '''Maya Server (Win)'''
#  Prepare the Maya Database  
+
#  Prepare the Maya Database including initial population
 
#*  Run using the '''Prepare Maya Database''' launch config
 
#*  Run using the '''Prepare Maya Database''' launch config
#  Run launcher
+
#*  Part of preparation includes running update site sync which can take 10-60 minutes depending on network connection
#*  run the '''Java Bootstrap''' launch config
+
#  Run the Maya Launcher via Bootstrap
 +
#*  Launch the '''Java Bootstrap''' launch config from the Run... menu

Revision as of 15:07, 10 May 2007

Things you'll need

Note: The Derby ui plugin is not required but makes it easier to use Derby in eclipse. Also the steps that are outlined here will be using the ui plugin.

Next Steps

  1. Install the Derby Core and UI plug-ins to your runtime plug-ins directory
    • Download derby_core_plugin and derby_ui_plugin (not the derby binary bundles)
  2. Install the Sun JRE 1.6 (if not already installed)
  3. Start Eclipse (we've tested with 3.3M6 and M7)
  4. Import Team Project Set (derby.psf)
    • Use Import > Team > Team Project Set and browse to the PSF file
  5. Add Hibernate Jars to org.eclipse.maya.server.example.hibernate project
    • Place files in the lib folder. Copy Jars from the downloaded hibernate zip's lib directory:
    • antlr-2.7.6.jar
    • asm.jar
    • asm-attrs.jar
    • c3p0-0.9.1.jar
    • cglib-2.1.3.jar
    • commons-collections-2.1.1.jar
    • dom4j-1.6.1.jar
    • hibernate3.jar (can be found in the root of the zip)
    • jta.jar
  6. Start the Derby network server
    • Right click in the org.eclipse.maya.server.example.db project and choose Apache Derby > Start Derby Network Server
  7. Create zip file of the Sun 1.6.0 JRE and place in JRE folder
    • On Windows navigate to the directory where there is folders like bin & lib and some other files and create a zip file just containing those files
    • Place that in the JRE folder for your os in the org.eclipse.maya.server.example.db plug-ins (Note: the file must be named jre_1.6.0.zip)
  8. Build Update Site for the Maya software
    • Open the site.xml located in the update_site folder of the org.eclipse.maya.server.example.db project click Build All
  9. Start the Maya Web Server
    • Run the server using the launch config Maya Server (Win)
  10. Prepare the Maya Database including initial population
    • Run using the Prepare Maya Database launch config
    • Part of preparation includes running update site sync which can take 10-60 minutes depending on network connection
  11. Run the Maya Launcher via Bootstrap
    • Launch the Java Bootstrap launch config from the Run... menu