SHOW:
|
|
- or go back to the newest paste.
1 | - | <?xml version="1.0" encoding="UTF-8"?> |
1 | + | |
2 | - | <Messages mongoSupport="true"> |
2 | + | <?xml version="1.0" encoding="UTF-8"?> |
3 | - | |
3 | + | <MessageFiles> |
4 | - | <ConstantGroups prefix="Core"> |
4 | + | <!-- Generate a sigle message factory for all messages defined in the "MessageFile" files found --> |
5 | - | <Group name="CG1"> |
5 | + | <!-- If you do not like to generate a MessageFactory just comment out next line --> |
6 | - | <Constant id="X1"/> |
6 | + | <MessageFactory outPath="./java/main/generated/" package="generated"/> |
7 | - | <Constant id="X2"/> |
7 | + | |
8 | - | <Constant id="X3"/> |
8 | + | <!-- Generates JSON schemas for the structures found in the "MessageFile" files found --> |
9 | - | <Constant id="X4"/> |
9 | + | <!-- If you do not like to generate JSON schemas to be generated, comment out next line --> |
10 | - | <Constant id="X5"/> |
10 | + | <SchemaFactory outPath="./jsonSchemas/" schemaDir="./sample/jsonSchemas/"/> |
11 | - | </Group> |
11 | + | |
12 | - | <Group name="CG2"> |
12 | + | <!-- Generates Mongo auxilliry CRUD and find methods for the structures defined in the "MessageFile" files found --> |
13 | - | <Constant id="Y1" value="500"/> |
13 | + | <!-- If you do not like to Mongo auxilliry support to be generated, comment out next line --> |
14 | - | <Constant id="Y2" value="501"/> |
14 | + | <MongoAux outPath="./java/main/generated/" package="generated"/> |
15 | - | <Constant id="Y3" value="502"/> |
15 | + | |
16 | - | </Group> |
16 | + | <!-- Gnerates POJO objects with JSON support based upon the defintion found in the file --> |
17 | - | </ConstantGroups> |
17 | + | <!-- You may have multiple "MessageFile" entries --> |
18 | - | |
18 | + | <MessageFile file="./xml/TestMessage.xml" outPath="./java/main/generated/" package="generated"/> |
19 | - | <Message name="TestSubMessage"> |
19 | + | </MessageFiles> |