Changeset 20790 for gsdl/trunk


Ignore:
Timestamp:
2009-10-07T15:53:19+13:00 (15 years ago)
Author:
kjdon
Message:

set -processing_tmp_files option to secondary HTML and PagedImage plugins so that the associated files in tmp are not stored as source associated files (used by incremental build to work out what needs reimporting)

Location:
gsdl/trunk/perllib/plugins
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/CONTENTdmPlugin.pm

    r19052 r20790  
    134134    push(@$pagedimg_options, "-create_thumbnail", "true", "-create_screenview", "true");
    135135    push(@$pagedimg_options, "-file_rename_method", "none");
    136 
     136    push(@$pagedimg_options, "-processing_tmp_files");
    137137    $self = bless $self, $class;
    138138
     
    345345        else {
    346346        $imgfile = &util::filename_cat("..","import",$imgfile);
    347         $imgfile = "../import/".$imgfile;
    348347        }
    349348
  • gsdl/trunk/perllib/plugins/ExcelPlugin.pm

    r18406 r20790  
    8282    push(@$html_options,"-extract_language") if $self->{'extract_language'};
    8383    push(@$html_options, "-file_rename_method", "none");
    84    
     84    push(@$html_options, "-processing_tmp_files");
     85
    8586    push(@$text_options, "-input_encoding", "utf8");
    8687    push(@$text_options,"-extract_language") if $self->{'extract_language'};
  • gsdl/trunk/perllib/plugins/PDFPlugin.pm

    r19493 r20790  
    162162    push(@$html_options,"-input_encoding", "utf8");
    163163    push(@$html_options,"-extract_language") if $self->{'extract_language'};
     164
     165    push(@$html_options, "-processing_tmp_files");
     166    push(@$pagedimg_options, "-processing_tmp_files");
     167
    164168    # Instruct HTMLPlug (when eventually accessed through read_into_doc_obj)
    165169    # to extract these metadata fields from the HEAD META fields
  • gsdl/trunk/perllib/plugins/PostScriptPlugin.pm

    r18406 r20790  
    125125        push(@$pagedimg_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?');
    126126        push(@$pagedimg_options, "-file_rename_method", "none");
     127        push(@$pagedimg_options, "-processing_tmp_files");
    127128    }
    128129    }
     
    139140    push(@$html_options, "-file_rename_method", "none");
    140141   
     142    # tell the secondary plugins that they are processing tmp files
     143    push(@$html_options, "-processing_tmp_files");
     144
    141145    $self = bless $self, $class;
    142146    # used for convert_post_process
  • gsdl/trunk/perllib/plugins/PowerPointPlugin.pm

    r18406 r20790  
    121121    push(@$html_options,"-file_rename_method", "none");
    122122   
     123    push(@$html_options, "-processing_tmp_files");
     124   
    123125    # Instruct HTMLPlugin (when eventually accessed through read_into_doc_obj)
    124126    # to extract these metadata fields from the HEAD META fields
     
    134136    push(@$pageimg_options,"-extract_language") if $self->{'extract_language'};
    135137    push(@$pageimg_options,"-file_rename_method", "none");
     138    push(@$pageimg_options, "-processing_tmp_files");
    136139    }
    137140
  • gsdl/trunk/perllib/plugins/RTFPlugin.pm

    r18406 r20790  
    9191    push(@$text_options, "-file_rename_method", "none");
    9292
     93    # tell the secondary plugins that they are processing tmp files
     94    push(@$html_options, "-processing_tmp_files");
     95
    9396    $self = bless $self, $class;
    9497
  • gsdl/trunk/perllib/plugins/WordPlugin.pm

    r18591 r20790  
    151151    my $text_options = $secondary_plugin_options->{'TextPlugin'};
    152152    my $structhtml_options = $secondary_plugin_options->{'StructuredHTMLPlugin'};   
     153    # tell the secondary plugins that they are processing tmp files
     154    push(@$html_options, "-processing_tmp_files");
     155    push(@$structhtml_options, "-processing_tmp_files");
     156   
    153157    # wvWare will always produce html files encoded as utf-8, so make sure the secondary HTMLPlugin knows this
    154158    push(@$html_options,"-input_encoding", "utf8");
Note: See TracChangeset for help on using the changeset viewer.