Difference between revisions of "Trying Out Maya"

From Eclipsepedia

Jump to: navigation, search
(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.
+
#*  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
 
#  Import team project set  
 
#  Import team project set  
#  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)
+
#  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
 
#*  antlr-2.7.6.jar
 
#*  asm.jar
 
#*  asm.jar
Line 28: Line 28:
 
#*  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
#  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
 
 
#  Start derby
 
#  Start derby
#*  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'''
#  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
+
 
#  Zip 1.6.0 JRE and place in JRE folder
 
#  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
+
#*  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 should be named '''jre_1.6.0.zip''')
 
#  Build update site
 
#  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
+
#*  Open the '''site.xml''' located in the '''update_site''' folder of the org.eclipse.maya.server.example.db project click build site
 
#  Start server
 
#  Start server
#*  Run the server using the launch config Maya Server (Win)
+
#*  Run the server using the launch config '''Maya Server (Win)'''
Run AllTests (Depending on bandwidth this could take a while)
+
Prepare the Maya Database
#*  Run using the AllTests launch config
+
#*  Run using the '''Prepare Maya Database''' launch config
 
#  Run launcher
 
#  Run launcher
#*  run the Java Bootstrap launch config
+
#*  run the '''Java Bootstrap''' launch config

Revision as of 13:41, 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. Start derby
    • right click in the org.eclipse.maya.server.example.db project and choose Apache Derby > Start Derby Network Server
  7. 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)
  8. 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
  9. Start server
    • Run the server using the launch config Maya Server (Win)
  10. Prepare the Maya Database
    • Run using the Prepare Maya Database launch config
  11. Run launcher
    • run the Java Bootstrap launch config