I'm working on a library that has it's own library dependencies, that I want to abstract away from. I'm running into problems after exporting my project to a jar that has the structure of:
Foo.jar
-> net
-> foo
-> java class files
-> lib
-> *.jar
-> src
-> foo
-> java source files
-> doc
-> javadoc and other docs
-> License.txt
When I go to test my library, I can easily import my library code from net.foo.*
but get exceptions thrown when I run because of "no suitable driver for ..." and others dependent on the internal library being called from my abstraction layer.
I'm using ANT to build my jar, but am not sure what to do. Ideally the user would just add my jar to their build path and then import my packages.