Jump to: navigation, search

Difference between revisions of "Trying Out Maya"

m (Things you'll need)
(Next Steps)
Line 13: Line 13:
 
(More to come - Just an outline)
 
(More to come - Just an outline)
  
#  add the derby core and ui plugins to your plugins directory
+
#  add the derby core and ui plug-ins to your runtime plug-ins directory  
#  install the JRE
+
#  install the JRE (if not already installed)
 
#  Start eclipse
 
#  Start eclipse
 
#  Import team project set  
 
#  Import team project set  
Create a plugin that contains the hibernate and supporting jars
+
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)
#*  Export every package
+
#*  antlr-2.7.6.jar
#*  Add to classpath
+
#*  asm.jar
#*  Add to binary build
+
#*  asm-attrs.jar
Add this newly created plugin to the launch config for Maya server (Win)
+
#* 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
 
#  Add the apache derby nature to the org.eclipse.maya.server.example.db project
 
#  Add the apache derby nature to the org.eclipse.maya.server.example.db project
#*  right click choose add nature
+
#*  right click on the project Apache Derby > Add Apache Derby Nature
 
#  Start derby
 
#  Start derby
#*  right click and choose start Derby Network server…
+
#*  right click in the project and choose Apache Derby > Start Derby Network Server
 
#  Run maya.sql
 
#  Run maya.sql
#*  Right click choose run with interactive ij ….
+
#*  Right click 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
#*  navigate to the directory where there is folders like bin, lib and some other files add 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 plugin
+
#*  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 click build site
 
#  Start server
 
#  Start server
#*  Run the server using the launch config
+
#*  Run the server using the launch config Maya Server (Win)
#  Run AllTests as junitTest Plugin (Depending on bandwidth this could take a while)
+
#  Run AllTests (Depending on bandwidth this could take a while)
#*  Right click select run as JUnit Plugin Test
+
#*  Run using the AllTests launch config
 
#  Run launcher
 
#  Run launcher
#*  tun the JavaStrap launch config
+
#*  run the Java Bootstrap launch config

Revision as of 19:21, 9 May 2007

Things you'll need

  • Derby Core and UI plugins
  • Hibernate 3.2.3
  • 1.6 JRE
  • Team Project Set
  • Eclipse 3.3 M6 (at least M6)

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 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)
    • 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 project and choose Apache Derby > Start Derby Network Server
  8. Run maya.sql
    • Right click 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 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