Red Hat Bugzilla – Bug 1278488
UDF jar not referenced in exported dynamic VDB
Last modified: 2016-09-27 10:19:54 EDT
When exporting a VDB with a User Defined Function, the information about the UDF jar is not present in the resulting dynamic VDB file.
With regular VDB archives, the UDF jar is added to the lib/ directory within the archive and is referenced like so in META-INF/vdb.xml:
<property name="checksum" value="2689317444"/>
This approach is not possible in case of dynamic VDB defined only as an xml file. It is, however, possible to create a module on the server with UDF jar and then reference it in the *-vdb.xml like so:
<property name ="lib" value ="mytestudf-module"></property>
It is currently possible to define such property manually in the VDB editor before exporting, but Designer should be able to define one automatically, or at least warn the user when there is a UDF jar present and the lib property is not defined.
Need to add some checks and warnings for import/export dynamic VDBs
Using only JIRA now. Marking as closed
Barry LaFond <email@example.com> updated the status of jira TEIIDDES-2713 to Coding In Progress
Barry LaFond <firstname.lastname@example.org> updated the status of jira TEIIDDES-2713 to Open