Ignore:
Timestamp:
07/20/11 21:55:16 (9 years ago)
Author:
ak19
Message:
  1. Putting the pdfbox-app.jar executable file back to the official 1.5.0 release (without Greenstone-specific changes regarding the line-separator). 2. Instead, Dr Bainbridge's suggestions have been followed to set the line.separator as a property when launching the pdfbox-app.jar, since it is a Java System property that needed to be adjusted for GS' customisation of PDFBox. Tested, works.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/pdf-box/trunk/java/perllib/plugins/PDFBoxConverter.pm

    r24200 r24301  
    109109    my $gextpb_home = $ENV{'GEXT_PDFBOX'};
    110110    my $pbajar = &util::filename_cat($gextpb_home,"lib","java","pdfbox-app.jar");   
    111     my $launch_cmd = "java -cp \"$pbajar\" org.apache.pdfbox.ExtractText";
     111    my $launch_cmd = "java -cp \"$pbajar\" -Dline.separator=\"<br />\" org.apache.pdfbox.ExtractText";
    112112   
    113113    $self->{'pdfbox_launch_cmd'} = $launch_cmd;
Note: See TracChangeset for help on using the changeset viewer.