Setting up Jython, Eclipse and Python

This appendix explains how to setup Jython, Eclipse and PyDev for use with the FDMEE scripting component.

This section is specific to the 11.1.2.3.100 release of Oracle Hyperion Financial Data Quality Management, Enterprise Edition. Because Jython, Eclipse and Python are not Oracle products, always refer to these products' documentation for the latest updates and changes. Reference the following URL for more information: http://pydev.org/manual_101_root.html

  To set up Jython:

  1. Create a working directory.

    For example, create: C:\FDMEE.

  2. Download Jython to the working directory.

    The download is available athttp://www.jython.org/downloads.html

    Double click the Jython installer jar and select the following options:

    • English Language

    • Standard Install

    • Default Location (C:\FDMEE\jython2.5.1)

    • Current Java Home

  3. Download Eclipse to working directory and extract.

    The Eclipse download is available at http://www.eclipse.org/downloads

  4. Launch Eclipse from the C:\FDMEE\eclipse\eclipse.exe.

  5. If the Welcome page is displayed, skip it by selecting the Workbench link in the top right corner.

  6. Select the following menu option to update your preferences:

    1. Select Windows and then Preferences.

    2. Add PyDev to the Available Software Sites:

      To do this:

      1. Select Install/Update, then Available Software Sites, and then click Add.

      2. In Name, enter PyDev.

      3. In Location, enter http://pydev.org/updates/.

  7. Change the default text editor options:

    To do this:

    1. Select General, then Editors, and then Text Editors.

    2. For the Displayed tab width, enter 2.

    3. Enable the Insert spaces for tabs option.

    4. Enable the Show print margin option.

    5. Enable the Show line numbers option.

  8. Select the Menu option.

    To do this:

    1. Select Help, and then Install New Software...

    2. In the Work with dropdown, select PyDev.

    3. From the PYDev availabl software list, select the PyDev node, and click Next.

    4. Confirm the PyDev for Eclipse installation, and click Next

    5. Accept the licensing terms, and click Finish

    6. Once the install starts, you are prompted about Aptana PyDev; and PyDev; Aptana certificates. Make sure you select the certificates and click OK.

    7. Restart Eclipse to complete the PyDev installation.

  9. Update your PyDev preferences:

    To do this:

    1. Select Windows and then Preferences.

    2. Configure the Jython interpreter used by PyDev:

      1. Select PyDev, and then Interpreter-Jython.

      2. Click New.

      3. Click Browse.

      4. Select C:\FDMEE\jython2.5.1\jython.jar

      5. Click OK.

      6. When prompted to select the folders to add to the SYSTEM python path, do not change any selection and click OK.

      7. Click OK to close the Preferences window.