On Sun, 20 Nov 2011, John M wrote:
I'm using a build from the 1.1 source.
That's odd - with 1.1 TikaCLI will use DefaultDetector, which loads all
available detectors including the container aware ones
However, I'm not able to reproduce your problem:
cd /tmp
cp ~/test.doc C1.doc
cp ~/test.doc C1.xls
cp ~/test.doc C1.ppt
cd ~/java/apache-tika/tika-app/target
for i in /tmp/C1*; do echo ""; echo $i; java -jar
tika-app-1.1-SNAPSHOT.jar --detect $i; done
/tmp/C1.doc
application/msword
/tmp/C1.ppt
application/vnd.ms-powerpoint
/tmp/C1.xls
application/vnd.ms-excel
So I do get the container aware detection working properly. Not sure
what's not working for you....
Nick