Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Trying Out Maya

Revision as of 19:21, 9 May 2007 by Devaughn.cisco.com (Talk | contribs) (Next Steps)

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

Back to the top