Jump to: navigation, search

Difference between revisions of "Trying Out Maya"

(Next Steps)
(Next Steps)
Line 14: Line 14:
  
 
#  add the derby core and ui plug-ins to your runtime plug-ins directory  
 
#  add 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.
 
#  install the JRE (if not already installed)
 
#  install the JRE (if not already installed)
 
#  Start eclipse
 
#  Start eclipse

Revision as of 12:13, 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

(More to come - Just an outline)

  1. add 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.
  2. install the JRE (if not already installed)
  3. Start eclipse
  4. Import team project set
  5. 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)
    • 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. Add the apache derby nature to the org.eclipse.maya.server.example.db project
    • right click on the project Apache Derby > Add Apache Derby Nature
  7. Start derby
    • right click in the org.eclipse.maya.server.example.db project and choose Apache Derby > Start Derby Network Server
  8. Run maya.sql
    • Right click on the Maya.sql file in the root of the org.eclipse.maya.server.example.db project choose Apache Derby > Run SQL Script using ij
  9. Zip 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 should be named jre_1.6.0.zip)
  10. Build update site
    • Open the site.xml located in the update_site folder of the org.eclipse.maya.server.example.db project click build site
  11. Start server
    • Run the server using the launch config Maya Server (Win)
  12. Run AllTests (Depending on bandwidth this could take a while)
    • Run using the AllTests launch config
  13. Run launcher
    • run the Java Bootstrap launch config