1 Reply Latest reply on Nov 5, 2015 5:54 AM by jacekgra RSS
    jacekgra Apprentice

    Server side extension + thridparty library import

    Hi Guys,

     

    I am wondering about best practice when using thirdparty libraries in server extensions.

     

    I used to import the library into TOMCAT/webapps/Thingworx/WEB-INF/lib and just having it in my classpath during compile time (so the extension is light), but it enforces managing the server manually (deploy the library in the Tinhgworx lib dir) and I do not want to do it.

     

    I know that external jars can be somehow included into extension jar (unpacked into the extension jar) but I am having trouble with appropriate ant script for acheving it.

     

    Can someone give me a hint on the ant script or maybe suggest some other approach?

     

    Thanks in advance & Regards,

    Jacek