I know this is a very old thread but i am trying to add the ant libary but the system gives me allways an error. Did you manage to add it?
My goal at the time was to use the Jelly Ant tag library to use Ant's Mail Tasks but I never got this to work. I don't recall where the problem was. Sorry! I wish you the best. Please keep this thread updated with your progress. Maybe we'll crowdsource a solution.
Ok, I was trying to add the Ant Tag Library - Tag Documentation, but when i add the jar to the lib folder and import in the gel script the server crash when i tried to save the code, then i do not know how to add external libraries to ca clarity. I will try another options.
This way should work (copy external jars to lib directory).
- did you restart app and bg?
- Is there an error message on app-ca ou app-system log?
- Can you check if the Java classes of the lib are compatible with Java 7? (they may be targeted for Java 8 during compilation).
- Maybe some dependencies are missing.
I will check again in the logs, but i was thinking that solution should work because i am adding the jar in the classpath (lib folder) and making in the gel script header: xmlns:ant=jelly:org.apache.commons.jelly.tags.ant.AntTagLibrary, I will check again tomorrow and take a look in the logs when the error will shown.
Retrieving data ...