public class CreateComponentXML extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_XML_FOLDER |
static String |
PROPERTY_XML_OUTPUTFILE |
Constructor and Description |
---|
CreateComponentXML() |
public static final String PROPERTY_XML_FOLDER
public static final String PROPERTY_XML_OUTPUTFILE
public static void main(String[] args) throws Exception
The zip file names are expected to have the following structure: mary-
(component name)-
(version
number).zip
If the component name is a locale, a language component xml is created; otherwise, a voice component xml is created.
The program will look in the following folders for existing xml:
mary.componentXML.folder
, that folder and no other folder;download/
and installed/
below the current folder;
The resulting files will by default be written into individual xml files located in the same folder as the respective zip
file, and named mary-
(component name)-
(version number)-component.xml
. Alternatively,
if the system property mary.componentXML.outputfile
is set, this is used as the filename of a single XML file
combining the component names.
args
- zip files for which component xml is to be generatedException
- ExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.