You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tocsv.sh 478B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # find jar-file with highest version number
  3. for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-excelant" | grep -v -- "-scratchpad" | grep -v -- "-javadoc"`;do
  4. CP=$i:$CP
  5. done
  6. for i in `ls ooxml-lib/*.jar | grep -v -- "xmlbeans-2.3.0.jar"`;do
  7. CP=$i:$CP
  8. done
  9. if [ "$CP" = "" ]
  10. then
  11. echo Did not find jar files in directory build/dist, please run target "jar"
  12. exit 1
  13. fi
  14. echo Using jar $CP
  15. java -cp $CP org.apache.poi.ss.examples.ToCSV "$@"