Custom Java extentions

Here should go questions about transforming XML with XSLT and FOP.
beachcomber
Posts: 1
Joined: Mon Oct 25, 2010 1:30 pm

Custom Java extentions

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Custom Java extentions

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply