Hello All!
I have explained in my previous post “http://technology.toraveabout.com/xqdt-xquery-project-eclipse/” about configuring eclipse with XQDT. The challenge is that XQDT interpreter is configured with only Saxon9 classes and it is most of the most time the case that we are supposed to use third party API libraries to in our XQueries.
Given that, I am posting this one to address the solution to configure Saxon9 interpreter where without any configuration changes on you current XQuery/XQuery project/Eclipse environment, you can test your XQuery which uses any third party libraries. I know, I know you were looking for this for long time.
So here it the trick!
What I have done is,
1. Gather all the jars that you use or gonna use in your XQuery.
2. Put them in a folder “lib” in my example.
3. Merge them with saxon9 Jar
4. Use this as you interpreter JAR/WAR file.
Now you will ask, how will I do that. As the picture shows, I have already automated the same using ANT utility.
You can refer to my original post as to how to configure Saxon9 Interpreter!
Hope you like this idea!
You can download the working project for merging Saxon with custom Jar from HERE.