Re: Calabash: Java API

2009/7/23 ? wrote:

> I think you will need something more generic, so that you can support
> pipelines that that have multiple (or no) input/output ports or
> accept/produce multiple documents.
> You can have a look at our API in Calumet (Pipeline, PipelineInput,
> PipelineOutput etc.); there are simple examples in the documentation which
> is available here:

> https://community.emc.com/docs/DOC-4242

  Thanks for the reminder to try Calumet ;-)  I've just installed it
and will give it a try in my Java app.  BTW, under Cygwin, I had to
adapt the shell script from:

CLASSPATH=`find "${CALUMET_HOME}/lib" -name "*.jar" -exec printf '%s:' {} \;`
# add development code areas
CLASSPATH="${CALUMET_HOME}/eclipse/classes:${CLASSPATH}"

to:

if uname | grep -i cygwin >/dev/null 2>&1; then
    CP_DELIM=";"
else
    CP_DELIM=":"
fi
CLASSPATH=`find "${CALUMET_HOME}/lib" -name "*.jar" -exec printf
"%s${CP_DELIM}" {} \;`
# add development code areas
CLASSPATH="${CALUMET_HOME}/eclipse/classes${CP_DELIM}${CLASSPATH}"

  I've never understood this concept of different classpath separators...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Thursday, 23 July 2009 08:40:49 UTC