Page 1 of 1

Custom Java extentions

Posted: Mon Oct 25, 2010 2:53 pm
by beachcomber
Hi,

my company have created some bespoke java extensions, which I would like to make available for my local transformations using oxygen.

A colleague suggested that this would be possible by adding the custom extensions to my transformations scenario. However, the files that I was told to use our IT dept are .class files not jar files.

What do I need to do to get oxygen to use our custom extensions?

Note: the files I have are in the following format:

/xxx/ptv/utilities/dateTimeUtils.class

Kind Regards,

Rob

Re: Custom Java extentions

Posted: Mon Oct 25, 2010 3:06 pm
by adrian
Hello,

About the same applies for class files. You just have to add the base folder of the class files.
e.g.
For the class: my.package.MyClass
from the path: /path/to/my/project/classes/my/package/MyClass.class
you should add to the extensions the folder: /path/to/my/project/classes

In the 'Edit scenario' dialog(Document -> Transformation -> Configure Transformation Scenario, Edit) press the Extensions button and Add the folder(s) to the list.

Regards,
Adrian