Skip to Content
avatar image
Former Member

Using external jars in Java Mapping jar archive

Hello experts,

we want to create a Java Mapping and in the corresponding jar file external libraries will be used. Is it possible to add a library (like iText or Apache POI) to the Java Mapping jar file? I don't want to add such libraries to the standard class path.

When I add them to the lib folder of the mapping jar, the mapping doesn't work and I get a class not found exception?

Best regards,

David

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 26, 2009 at 12:01 PM

    You can create in individual object "imported archive" for every library that you reference.

    You can access the imported archive of the same SWVC/namespace in every Java Mapping, XSLT mapping or graphical mapping (e.g. UDF).

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 26, 2009 at 11:44 AM

    Use NWDS whenever developing Mappings or Module for XI.

    In anycase, you can add any kind of external jars and compile it.

    Add comment
    10|10000 characters needed characters exceeded