I've been having a really hard time getting creating a Context object in my app. I'm not using eclispe. I'm using clojure. During development, things work fine because I can create my Context object at run-time as the jvm has access to my maven artifacts in my home/.m2 directory. However, when I deploy my app, all the dependencies are put into an 'uberjar'. But then when the Context constructor looks for the required plugins (SCIFIOPulgins) it can't find them.
Is the Context object meant to be created at run time? I can create it at compile time, but Clojure does not provide easy ways to do this at compile time only (nearly impossible - I've search and tried alot). I just want to make sure I'm doing things correctly so I can concentrate my efforts in the correct direction.
If I manage to create the Context object (or ImgOpener) at compile time, will I run into problems later at run time when these classes are in the uberjar? If I'm meant to create the Context at run time, how do I package my classes in the uberjar so that they can be found when the Context object is being created?