I am having a problem in using JAR files with javascript…
I have:
-
Created the WebContent/WEB-INF/lib folder.
-
Copied some JARS to the folder (iText-2.0.8.jar and others).
-
Created a server-side script which successfully makes calls to the classes contained in the JAR files.
However, the iText JAR contains resources (.afm fonts) needed by the iText classes which don’t seem to get unpacked and made available in the server-side build path, which is apparently a common problem. I get the error ".afm files must exist as resouces in the package …)" though they definitely exist in the JAR.
So I am wondering…
A. Is it possible to view the temp files created by the XPage/JFaces engine in Domino to verify whether the resources are unpacked?
B. Is it possible to adjust the server build/JFace settings on the server to ensure these JAR resources are accessible (I notice a resource filter setting under Project Properties/Java Compiler but I am using the default which does not exclude *.afm files)