4.1.2.5. BuildSets

<buildSets/> is a sub element of <personel-iom-project>.

It can contain one or more <buildSet/> elements, which can be used to define themed groups of files that enable partial generation of the project. For example, one might choose to only generate the files that constitute the REST api (select a folder), or one might only want to generate Javascript files (choose a file type).

Listing 4.6 <buildSets> in project file
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<personal-iom-project xsi:schemaLocation="http://www.firstbase.nl/xsd/personaliom/project
                                                http://www.firstbase.nl/xsd/personaliom/project.xsd"
                                        xmlns="http://www.firstbase.nl/xsd/personaliom/project"
                                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        ...

        <buildSets>
                <!--Angular2 buildsets-->
                <buildSet name="Typescript">
                        <file name="*.ts"></file>
                </buildSet>
                <buildSet name="html and Typescript">
                        <file name="*.html"/>
                        <file name="*.ts"/>
                </buildSet>
        <buildSets>

        ...

</personel-iom-project>

4.1.2.5.1. Attributes

There are no attributes for <buildSets/>.

4.1.2.5.2. Sub elements

Table 4.3 <buildSets/> sub elements

Name

Details

Number

buildSet

Each buildSet sub-element defines an isolated part of the project to be generated.

0-n