Adding a User-Defined Extension Function JAR

Use JARs from a Sybase WorkSpace project or from the file system to implement user-defined extension functions in a transformation service.

At packaging time, a JAR used in the transformation service must be included in ServiceClasses.jar.

  1. Select Window > Preferences from the main menu bar.
  2. Expand Sybase, Inc in the left pane.
  3. Expand Services and select Transformation Editor.

    The Transformation Editor dialog appears in the right pane.

  4. Select the User-Defined Extensions tab in the right pane.
  5. Do any of the following:
    Table 1. User-defined extensions dialog fields
    Field Description
    Extension Functions JARs List Displays JARs you added to your Workspace. Each JAR is usable by any transformation service in your Workspace.
    Remove Deletes the selected JAR from the list. The JAR file is not deleted from the project or from the file system.
    Add JARs Lets you browse and select one or more JARs from a project in your Workspace.
    Add External JARs Lets you browse and select one or more JARs from the file system.
Related tasks
Modifying the Tool Palette
Writing User-Defined Extension Classes
Editing the Expressions XML File

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.