Model Library

1. Package model library

1.1.Jar file

    The model can be released together with Java, usually packaged into a jar file.

1.2.dml file

    A .dml file is set in the root directory of the jar file, and the name of the model library is set in the .dml file.

    Such as:


    The workingSet attribute is optional, and it is used in the model editor to put the model library under the working group by default.

    Optional. If this file exists in the root directory of the jar, the zip will be decompressed to the root directory of xworker when XWorker is initialized (XWorkerUtils.setup()).


    Optional. The file is text, and one line is the path to an action model. If the file exists, related actions will be performed when XWorker is initialized (XWorkerUtils.setup()).

2. Import model library

     The model library is also an ordinary Java library, which can be directly used after being imported into the project.

3.XWorker model library

3.1. Source code

    The source code of XWorker was published on Gitee, /xworker/.

3.2. Maven

    The official version of the XWorker model library can be viewed on the Maven warehouse, see search?q=xworker.


    XWorker's SNAPSHOT version of the model library is published on Sonatype. If you want to use the SNAPSHOT version of the dependency, you can add the following settings to maven.

             <name>sonatype Repository</name>

4. Model library dependency tools

    You can open XWorker's Online Model Library Dependency Tool, which may not be updated in time ,for reference only.



Copyright ©  2007-2019  版权所有  沪ICP备08000575号