W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

Re: Calabash: Java API

From: Florent Georges <fgeorges@gmail.com>
Date: Thu, 23 Jul 2009 10:40:07 +0200
Message-ID: <ebaca5bf0907230140jc267a45ic255a55f60ef5c04@mail.gmail.com>
To: Toman_Vojtech@emc.com
Cc: xproc-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 23 July 2009 08:40:50 GMT