Changeset 23735 for gs2-extensions/open-office/trunk/src
- Timestamp:
- 2011-02-23T19:21:25+13:00 (13 years ago)
- Location:
- gs2-extensions/open-office/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/open-office/trunk/src/perllib/plugins/OpenOfficeConverter.pm
r23731 r23735 71 71 if(!defined $ENV{'SOFFICE_PORT'}) { 72 72 $ENV{'SOFFICE_PORT'} = "8200"; 73 } 74 if(!defined $ENV{'JODCONVERTER_PORT'}) { 75 $ENV{'JODCONVERTER_PORT'} = "8100"; 73 76 } 74 77 # important to have this set when the Greenstone server … … 226 229 # my $convert_cmd = "java -Doffice.home=\"".$office_short_path."\" -jar \"$jodjar\""; 227 230 228 my $convert_cmd = "java -jar \"$jodjar\" ";231 my $convert_cmd = "java -jar \"$jodjar\" --port $ENV{'JODCONVERTER_PORT'}"; 229 232 $convert_cmd .= " \"$source_file_full_path\" \"$target_file_path\""; 230 233 -
gs2-extensions/open-office/trunk/src/setup.bat
r23731 r23735 5 5 :: Edit and uncomment the following environment variables if you want to customise the 6 6 :: location of your OpenOffice installation or what host or port it should be run with. 7 :: You can also set the port that jodconverter uses to connect to OpenOffice. 7 8 :: If this is (also) a remote Greenstone server, you will (also) want to edit the file 8 9 :: gsdlsite.cfg in your Greenstone installation's cgi-bin folder. … … 11 12 :: set SOFFICE_HOST=localhost 12 13 :: set SOFFICE_PORT=8200 14 :: set JODCONVERTER_PORT=8100 13 15 14 16
Note:
See TracChangeset
for help on using the changeset viewer.