Import Jar in Component

Import Jar in Component

Hello,

I am writing a component for TOS 6.4.1 in which I want to use ARX Anonymasiation (http://arx.deidentifier.org/). I downloaded the jar from the homepage and importet it to my component (see the XML) and added it to the Java Build Path in TOS.

Re: Import Jar in Component

Any code inside <% %> is processed by javajet template engine. Javajet engine is like preprocessor that outputs, java code which is later again complied by studio before execution.So in our case whats happening ?*Although jar is loaded correctly, it cant be imported and used for javajet engine codes.

Try putting your line of code, which gave the error ,at the end of javajet file outside <%%>.

Re: Import Jar in Component

I already tried more than one location for the as as well as the whole component.

The import with the tLibraryLoad only works if I write my code in tJavaFlex. But the import of the jar for the component doesn't seem to work. Furthermore I cannot connect tLibraryLoad with my component.

I also think that this is not the best solution: I want to offer the functionality of arx within this component. When the user has to load the Jar in an external component he doesn't need the extra component any more..

Re: Import Jar in Component

Any code inside <% %> is processed by javajet template engine. Javajet engine is like preprocessor that outputs, java code which is later again complied by studio before execution.So in our case whats happening ?*Although jar is loaded correctly, it cant be imported and used for javajet engine codes.

Try putting your line of code, which gave the error ,at the end of javajet file outside <%%>.