java -jar docGenerator.jar -input=wiki/input;wiki2/input -index=myIndex.xml -output=wiki/output
Note that this file does not need to be in one of the root directories.<package package="mypackage"/>There can be only one package defintion per root directory (only the first one will be taken into account, the others will be discarded).
MyPackage, ThePackage12, Another_Package, core-package
<package package="mypackage"> <defaultImports> <import package="thePackage"/> </defaultImports> </package>In that case, if the reference has no package attribute:
allImports
element. For example:<package package="mypackage"> <defaultImports> <allImports/> </defaultImports> </package>In that case, if the reference has no package attribute:
inputsSubdirectories
or includeSubdirectories
property:root1
, root2
, and root3
:-- wikiSource ------ root1 ------ root2 ------ root3You can specify the inputs by:
java -jar docGenerator.jar -input=wikiSource/root1;wikiSource/root2;wikiSource/root2 -output=wiki
Or by using the inputsSubdirectories
or includeSubdirectories
property:
java -jar docGenerator.jar -input=wikiSource -inputsSubdirectories=true -output=wiki
package1.xml
declaration in the root1
directory, and another package2.xml
declaration under the root2
sub-directory:wikiSource --- root1 ------ package1.xml ------ article1.xml ------ index.xml ------ root2 ---------- package2.xml ---------- article2.xml
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.