source: gs2-extensions/open-office/trunk/RUN.sh@ 22204

Last change on this file since 22204 was 22204, checked in by davidb, 12 years ago

Initial pass at extension that uses OpenOffice to convert documents to HTML or PDF, for subsequent processing by Greenstone

File size: 344 bytes
Line 
1#!/bin/bash
2
3
4#pushd "$GSEXTOOFFICE/jodconverter-core-3.0-beta-3"
5
6#cp=`ls lib/*.jar | tr '\n' ':'`
7
8#java -cp ".:$cp" org.artofsolving.jodconverter.cli.Convert $*
9
10#popd
11
12which cygpath >/dev/null 2>&1
13
14if [ $? = "0" ] ; then
15 # Running on Cygwin
16 java -jar lib\\java\\jodconverter.jar $*
17else
18 java -jar lib/java/jodconverter.jar $*
19fi
20
21
22
Note: See TracBrowser for help on using the repository browser.