Error instantiating org.daisy.pipeline.core


I'm trying to write a program to run DAISY Pipeline jobs. Program runs fine in Eclipse, but when I try to run it outside the IDE, I get errors in org.daisy.pipeline.core.PipelineCore.initialize(). Specifically, the resource URL for is null. I'm pointing to pipeline.jar in the classpath, and pipeline.jar is sitting in the same folder with the properties files, lib and transformers dir, etc., just like in a usual CLI distribution.

I know it's something stupid I'm doing, but not sure what ...



This was solved a while ago over email. Here's the solution for the record:

The parent directory of the properties file itself should be in the classpath as well. You can have a look at the shell script of the CLI distribution to see how it's configured there.