Index: apachesolr_attachments.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr_attachments/apachesolr_attachments.module,v
retrieving revision 1.16
diff -u -p -r1.16 apachesolr_attachments.module
--- apachesolr_attachments.module	18 Nov 2009 03:51:00 -0000	1.16
+++ apachesolr_attachments.module	18 Nov 2009 03:58:12 -0000
@@ -452,7 +452,9 @@ function _asa_get_attachment_text($file)
  */
 function apachesolr_attachments_extract_using_tika($filepath) {
   $tika_path = realpath(variable_get('apachesolr_attachments_tika_path', ''));
-
+  // On windows realpath() will change unix style paths to windows style, but
+  // this confilcts with using escapeshellcmd(), so change it back.
+  $tika_path = str_replace('\\', '/', $tika_path);
   $tika = $tika_path .'/'. variable_get('apachesolr_attachments_tika_jar', 'tika-0.3.jar');
 
   $java = variable_get('apachesolr_attachments_java', 'java');
