Lines 14-24
Link Here
|
14 |
* Kit Lo (IBM) - patch, bug 251536, newline char missing after copyright comment on first line |
14 |
* Kit Lo (IBM) - patch, bug 251536, newline char missing after copyright comment on first line |
15 |
* Kit Lo (IBM) - patch, bug 238580, language packs should not include strings that are marked "non-translatable" |
15 |
* Kit Lo (IBM) - patch, bug 238580, language packs should not include strings that are marked "non-translatable" |
16 |
* Kit Lo (IBM) - patch, bug 252140, Illegal token characters in babel fragment names |
16 |
* Kit Lo (IBM) - patch, bug 252140, Illegal token characters in babel fragment names |
|
|
17 |
* Antoine Toulme (Intalio, Inc) - patch, bug 256430, Fragments with no host jeopardize Eclipse installation |
17 |
*******************************************************************************/ |
18 |
*******************************************************************************/ |
18 |
|
19 |
|
19 |
/* |
20 |
/* |
20 |
* Documentation: http://wiki.eclipse.org/Babel_/_Server_Tool_Specification#Outputs |
21 |
* Documentation: http://wiki.eclipse.org/Babel_/_Server_Tool_Specification#Outputs |
21 |
*/ |
22 |
*/ |
|
|
23 |
define("METADATA_GENERATOR_LOCATION", "/home/babel-working/eclipse"); // you might want to read this value from a config file. Not sure yet. |
22 |
|
24 |
|
23 |
ob_start(); |
25 |
ob_start(); |
24 |
ini_set("memory_limit", "64M"); |
26 |
ini_set("memory_limit", "64M"); |
Lines 415-420
Link Here
|
415 |
fclose($outp); |
417 |
fclose($outp); |
416 |
|
418 |
|
417 |
fwrite($language_pack_links_file, "\n\t</ul>"); |
419 |
fwrite($language_pack_links_file, "\n\t</ul>"); |
|
|
420 |
|
421 |
// now generate the metadata and add the non-greedy tags |
422 |
system(BABEL_BASE_DIR . "classes/export/runMetadata.sh ". METADATA_GENERATOR_LOCATION . " ${output_dir_for_train} "); |
423 |
sytem("xsltproc -o ${output_dir_for_train}site.xml " . BABEL_BASE_DIR . "content.xsl ${output_dir_for_train}site.xml"); |
418 |
} |
424 |
} |
419 |
echo "Completed generating update site\n"; |
425 |
echo "Completed generating update site\n"; |
420 |
|
426 |
|