Changeset 22884 for gs2-extensions


Ignore:
Timestamp:
2010-09-08T13:28:10+12:00 (14 years ago)
Author:
kjdon
Message:

convert the files in the collection's tmp folder, not the main gsdl one. and use a timestamped subfolder as may end up with files having the same names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/open-office-src/trunk/perllib/plugins/OpenOfficeConverter.pm

    r22827 r22884  
    189189    }
    190190    else {
    191     # this is in gsdl/tmp. get a tmp filename in collection instead???
    192     $target_file_path = &util::get_tmp_filename($target_file_type);
     191    $target_file_path = &util::get_timestamped_tmp_filename_in_collection($source_file_full_path, $target_file_type);
    193192    push(@{$self->{'ootmp_file_paths'}}, $target_file_path);
    194193    }
    195194
    196195    # Generate and run the convert command
     196
    197197    my $gextoo_home = $ENV{'GEXT_OPENOFFICE'};
    198198    my $jodjar = &util::filename_cat($gextoo_home,"lib","java","jodconverter.jar");
Note: See TracChangeset for help on using the changeset viewer.