Difference between revisions of "Trying Out Maya"

From Eclipsepedia

Jump to: navigation, search
(Things you'll need)
(Next Steps)
Line 17: Line 17:
 
#  Start eclipse
 
#  Start eclipse
 
#  Import team project set  
 
#  Import team project set  
#  Add the following jar files to the org.eclipse.maya.server.example.hibernate plug-in (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 30: Line 30:
 
#*  right click on the project Apache Derby > Add Apache Derby Nature
 
#*  right click on the project Apache Derby > Add Apache Derby Nature
 
#  Start derby
 
#  Start derby
#*  right click in the 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
 
#  Run maya.sql
#*  Right click choose Apache Derby > Run SQL Script using ij
+
#*  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 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)

Revision as of 11:36, 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
  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