Adding the custom QueryFunction .jar file to your Eclipse build path

If you are using Eclipse as your IDE, you need to add the new .jar file to the build path of your custom component.

To add the new .jar file to your Eclipse build path:

  1. Right-click the project, then select Build Path > Configure Build Path.
  2. Click the Libraries tab.
  3. Click Add Variable.
  4. Select DF_GLOBAL_LIB.

    You should have added this variable when you set up the SDK.

  5. Click Extend.
  6. Open the ext/ directory.
  7. Select the .jar file containing your custom QueryFunction.
  8. Click OK.

After adding the .jar file to the build path, you can import the class, and use your custom QueryFilter or QueryConfig to modify your QueryState.