views:

20

answers:

1

I'm developing custom Agent for LotusNotes 8.5.

I'd like to use iCal4j jar to convert Calendar issue to ICS format.

Question is: how to import coresponding jar in Lotus Agent ??

Now is written when compile: package 'net.fortuna.ical4j.model' does not exist.

A: 

You can include jar files in your Notes agent by clicking Edit project.. in the bottom left corner of the agent window. Check the Archives checkbox to see .jar files.

Here's an example: Developing an IBM Lotus Domino agent with JMS

Anders Lindahl
thanks a lot !!
r.yafimchyk
Note that some third party JARs don't play nice with the way Notes / Domino stores them within an agent project (e.g. some Apache stuff, anything that uses reflection). In these instances, you're better off adding the jar file to your Domino server's classpath (ext directory, or explicitly declare the classpath in the server's JavaUserClasses ini file).
Ben Poole