public final class ImporterMain extends Object
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Command line hook so that the importer can be called directly on the command line.
|
public static void main(String[] args) throws Exception
args
- the first argument is the directory where the package.xml file is located and where the documents to
import are located, the second argument is some database name (TODO: find out what this name is
really) and the third argument is the Hibernate config fill containing the database definition (JDBC
driver, username and password, etc)Exception
- in case of an error while importingCopyright © 2004–2021 XWiki. All rights reserved.