1<?xml version="1.0" encoding="UTF-8"?>
2<code_instruction xmlns="https://metafactory.io/xsd/v1/codeinstruction" xmlns:java="https://metafactory.io/xsd/v1/java-codeinstruction" xmlns:ts="https://metafactory.io/xsd/v1/typescript-codeinstruction" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://metafactory.io/xsd/v1/codeinstruction https://metafactory.io/xsd/v1/codeinstruction.xsd https://metafactory.io/xsd/v1/java-codeinstruction https://metafactory.io/xsd/v1/java-codeinstruction.xsd https://metafactory.io/xsd/v1/typescript-codeinstruction https://metafactory.io/xsd/v1/typescript-codeinstruction.xsd">
3 <properties>
4 <java.main.directory>src/main/java</java.main.directory>
5 <java.test.directory>src/test/java</java.test.directory>
6 <java.package.base>io.metafactory.codecomposer_reference</java.package.base>
7 </properties>
8 <external_libraries>
9 <external_library name="libProject">
10 <path>./src</path>
11 <codeinstructions_folder>codeinstruction</codeinstructions_folder>
12 <snippets_folder>snippet</snippets_folder>
13 <function_library>codeinstruction/my-project-ci-functions.xml</function_library>
14 <function_library>codeinstruction/example-custom-functions.xml</function_library>
15 </external_library>
16 <external_library name="libExample">
17 <path>../codecomposer-example-library/src</path>
18 <codeinstructions_folder>codeinstruction</codeinstructions_folder>
19 <snippets_folder>snippet</snippets_folder>
20 <function_library>codeinstruction/example-custom-functions-in-library.xml</function_library>
21 </external_library>
22 </external_libraries>
23
24 <!-- generic code instructions from library, reusable in different projects -->
25
26 <java:external_java_package id="libExample/example-code-instruction-in-library.xml"
27 package="domain_model" />
28
29 <!-- project specific code instructions, only used in this project -->
30
31 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-object.xml"
32 package="domain_model" />
33 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-object-and-get-meta-data-from-object.xml"
34 package="domain_model" />
35 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-attribute.xml"
36 package="domain_model" />
37 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-attribute-all.xml"
38 package="domain_model" />
39 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-attribute-and-attribute-has-meta-data.xml"
40 package="domain_model" />
41 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-attribute-and-attribute-has-meta-data-with-value.xml"
42 package="domain_model" />
43 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-attribute-and-get-meta-data-from-attribute.xml"
44 package="domain_model" />
45 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-reference.xml"
46 package="domain_model" />
47 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-reference1.xml"
48 package="domain_model" />
49 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-referenceN.xml"
50 package="domain_model" />
51 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-reference-and-reference-has-meta-data.xml"
52 package="domain_model" />
53 <java:external_java_package id="libProject/examples/example-code-instruction-simple-entity-foreach-reference-and-reference-has-meta-data-with-value.xml"
54 package="domain_model" />
55 <java:external_java_package id="libProject/examples/example-code-instruction-simple-service-object-has-meta-data.xml"
56 package="domain_model" />
57 <java:external_java_package id="libProject/examples/example-code-instruction-special-service-object-has-meta-data-with-value.xml"
58 package="domain_model" />
59
60</code_instruction>