How to access the catalog functions from projlib into new custom functions?

How to access the catalog functions from projlib into new custom functions?

book

Article ID: KB0093706

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
-A project has a few custom functions defined in it.
-User exports this project as Project Library.
-User imports this Project Library in new project.
-User creates new Custom functions in current project
-User can not add catalog custom functions from the imported Project Library into the new custom function.
-User can not add built-in functions into the new custom function. Note: By default, adding the project library will only allow access to the functions in the rules source. To also use them in other Java files, it must be added to the Java build path.

Issue/Introduction

How to access the catalog functions from projlib into new custom functions?

Resolution

The Java source folder from the project library needs to be manually added to the Java build path for the project in order to use the Java methods inside other Java sources. This is found by going to the project properties page, selecting "Java Build Path" and then adding the JavaSrc folder in the "Source" tab of that page.