Jump to: navigation, search

Difference between revisions of "Trying Out Maya"

(Next Steps)
(Next Steps)
Line 19: Line 19:
 
#*  Use '''Import > Team > Team Project Set''' and browse to the PSF file
 
#*  Use '''Import > Team > Team Project Set''' and browse to the PSF file
 
#  Add Hibernate Jars to '''org.eclipse.maya.server.example.hibernate''' project
 
#  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:
+
#*  Place Hibernate files in the org.eclipse.maya.server.example.hibernate/'''lib''' folder.
#*  antlr-2.7.6.jar
+
#*  Copy Jars from the downloaded hibernate zip's top-level directory:
#*  asm.jar
+
#**  hibernate3.jar
#*  asm-attrs.jar
+
#* Copy Jars from the downloaded hibernate zip's lib directory:
#*  c3p0-0.9.1.jar
+
#**  antlr-2.7.6.jar
#*  cglib-2.1.3.jar
+
#**  asm.jar
#*  commons-collections-2.1.1.jar
+
#**  asm-attrs.jar
#*  dom4j-1.6.1.jar
+
#**  c3p0-0.9.1.jar
#* hibernate3.jar (can be found in the root of the zip)
+
#**  cglib-2.1.3.jar
#*  jta.jar
+
#**  commons-collections-2.1.1.jar
 +
#**  dom4j-1.6.1.jar
 +
#**  jta.jar
 
#  Start the Derby network server
 
#  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'''

Revision as of 15:08, 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 Hibernate files in the org.eclipse.maya.server.example.hibernate/lib folder.
    • Copy Jars from the downloaded hibernate zip's top-level directory:
      • hibernate3.jar
    • 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
      • 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