Re: unit test error for new parser

2014-06-04 Thread Mattmann, Chris A (3980)
M To: "dev@tika.apache.org" Subject: Re: unit test error for new parser >Hi Annie, >I put together a patch to work your parser into Tika under >org.apache.tika.parsers.mat. You'll need to put a valid matlab file (I >called it MatlabFile.m, but just update the test) und

Re: unit test error for new parser

2014-06-04 Thread Mattmann, Chris A (3980)
++ -Original Message- From: Annie Burgess Reply-To: "dev@tika.apache.org" , "anniebryant.burg...@gmail.com" Date: Tuesday, June 3, 2014 5:20 PM To: Tyler Palsulich , "" Subject: Re: unit test error for new parser >Thanks for the input Tyler! I'

Re: unit test error for new parser

2014-06-04 Thread Tyler Palsulich
Hi Annie, I put together a patch to work your parser into Tika under org.apache.tika.parsers.mat. You'll need to put a valid matlab file (I called it MatlabFile.m, but just update the test) under test-documents for the parsing in the test to work properly -- the file I had failed because of "om.jma

Re: unit test error for new parser

2014-06-04 Thread Matthias Krueger
Hi Annie, [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /Users/annbryant/TIKA/tika/tika-parsers/src/main/java/org/apache/tika/parser/mat/MatParser.java:[69,23] cannot

Re: unit test error for new parser

2014-06-03 Thread Annie Burgess
Thanks for the input Tyler! I've fixed the issue by adding a bit of code to ensure a String is passed to MatFileReader when the unit test is run in maven. The test now successfully compiles - I'll add the code to reviewboard soon for others to scope. Annie On Tue, Jun 3, 2014 at 2:16 PM, Tyle

Fwd: unit test error for new parser

2014-06-03 Thread Annie Burgess
Hi dev group, I've put together a new parser for Matlab (.mat) files. I successfully compile and execute the new parser at the command line as: javac -classpath ../../../../tika-core/target/tika-core-1.6-SNAPSHOT.jar:../../../../jmatio-1.2.jar edu/usc/sunset/burgess/tika/MatParser.java java -c